Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008481/0.0008481, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8997/0.8997, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.838e-05, allocations: 8.672 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003128/0.003147, allocations: 3.241 MB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004541, allocations: 0.9385 MB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.004708, allocations: 7.938 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.004926, allocations: 99.03 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.00522, allocations: 174.6 kB / 329 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.005481, allocations: 171.7 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.00588, allocations: 0.6574 MB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.006066, allocations: 126 kB / 330 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.00633, allocations: 371.1 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.006512, allocations: 199.3 kB / 330.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.006568, allocations: 52 kB / 330.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.006616, allocations: 56 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.006681, allocations: 123.5 kB / 330.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.006792, allocations: 187.5 kB / 330.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.007203, allocations: 0.6462 MB / 331.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.007206, allocations: 0 / 331.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007208, allocations: 0 / 331.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.007214, allocations: 0 / 331.6 MB, free: 8.785 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.000905/0.008119, allocations: 0.7894 MB / 332.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.008157, allocations: 12.03 kB / 332.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.008226, allocations: 90.7 kB / 332.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.00829, allocations: 64.52 kB / 332.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.008651, allocations: 301.3 kB / 332.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.00868, allocations: 37.69 kB / 332.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.008727, allocations: 48.38 kB / 332.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.009244, allocations: 443 kB / 333.3 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.009257, allocations: 7.922 kB / 333.4 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.009285, allocations: 20 kB / 333.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.009294, allocations: 12 kB / 333.4 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.009815, allocations: 389 kB / 333.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.01135, allocations: 1.329 MB / 335.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.01181, allocations: 300.8 kB / 335.4 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.01206, allocations: 161.4 kB / 335.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.01208, allocations: 4.422 kB / 335.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.0121, allocations: 42.81 kB / 335.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 2.775e-06/0.0121, allocations: 7.984 kB / 335.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002143/0.01425, allocations: 1.2 MB / 336.8 MB, free: 3.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.01428, allocations: 55.91 kB / 336.9 MB, free: 3.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.01459, allocations: 421.4 kB / 337.3 MB, free: 2.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01461, allocations: 37.7 kB / 337.3 MB, free: 2.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.01474, allocations: 308.7 kB / 337.6 MB, free: 2.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.01483, allocations: 202.3 kB / 337.8 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01494, allocations: 110.3 kB / 337.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.01503, allocations: 358.8 kB / 338.3 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.01528, allocations: 177.2 kB / 338.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.01558, allocations: 295.1 kB / 338.7 MB, free: 1.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.01614, allocations: 0.4924 MB / 339.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01614, allocations: 0 / 339.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008612/0.017, allocations: 0.7367 MB / 339.9 MB, free: 80 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01702, allocations: 12 kB / 340 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01702, allocations: 7.938 kB / 340 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.01738, allocations: 177.6 kB / 340.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.01764, allocations: 115.8 kB / 340.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.02049, allocations: 4.024 MB / 344.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.02068, allocations: 36.09 kB / 344.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.0207, allocations: 24 kB / 344.3 MB, free: 11.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.02085, allocations: 181.7 kB / 344.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.0209, allocations: 51.67 kB / 344.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.886e-05/0.02097, allocations: 57.06 kB / 344.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.02097, allocations: 8 kB / 344.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.02098, allocations: 8.125 kB / 344.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.02099, allocations: 0 / 344.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.02232, allocations: 1.214 MB / 345.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02233, allocations: 0 / 345.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.02247, allocations: 67.89 kB / 345.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.02272, allocations: 169.6 kB / 346.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.02274, allocations: 8 kB / 346.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.02529, allocations: 3.86 MB / 349.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02529, allocations: 0 / 349.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.02601, allocations: 0.6927 MB / 350.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.02605, allocations: 43.66 kB / 350.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.02608, allocations: 15.94 kB / 350.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.02623, allocations: 23.98 kB / 350.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.02631, allocations: 52.34 kB / 350.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.02632, allocations: 12 kB / 350.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.02652, allocations: 283.2 kB / 351.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02652, allocations: 0 / 351.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004467/0.02697, allocations: 156 kB / 351.2 MB, free: 4.234 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008975/0.02787, allocations: 1.24 MB / 352.5 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008942/0.02876, allocations: 0.7618 MB / 353.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02876, allocations: 0 / 353.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.02921, allocations: 0.5126 MB / 353.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.02951, allocations: 46.02 kB / 353.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.03422, allocations: 4.688 MB / 358.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.0344, allocations: 255 kB / 358.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.03452, allocations: 52.53 kB / 358.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.03468, allocations: 180.4 kB / 358.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03468, allocations: 3.938 kB / 358.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.06309, allocations: 10.75 MB / 369.7 MB, free: 1.594 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.202, allocations: 2.922 kB / 369.7 MB, free: 1.594 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.827086318284273]