Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001582/0.001582, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001294/0.001294, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.409/1.409, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 373 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09374, allocations: 53.33 MB / 426.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1978/0.2916, allocations: 27.23 MB / 453.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.2969, allocations: 4.188 MB / 457.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.2972, allocations: 4.406 kB / 457.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.2979, allocations: 211.4 kB / 457.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007483/0.2987, allocations: 350.5 kB / 458.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.3033, allocations: 1.477 MB / 459.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.3047, allocations: 0.8812 MB / 460.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.3049, allocations: 76.39 kB / 460.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006478/0.3114, allocations: 4.081 MB / 464.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.3118, allocations: 294.8 kB / 465.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.3119, allocations: 32.22 kB / 465.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.3135, allocations: 0.7251 MB / 465.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3137, allocations: 100.1 kB / 465.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.3139, allocations: 194.5 kB / 466.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3151, allocations: 0.8434 MB / 467 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3151, allocations: 4.938 kB / 467 MB, free: 3.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3151, allocations: 0 / 467 MB, free: 3.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3151, allocations: 4 kB / 467 MB, free: 3.391 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000968/0.3161, allocations: 0.6594 MB / 467.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3161, allocations: 9 kB / 467.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.79e-05/0.3162, allocations: 67.62 kB / 467.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.3166, allocations: 58.06 kB / 467.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.3171, allocations: 287.9 kB / 468.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3171, allocations: 21.19 kB / 468.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.3171, allocations: 28.06 kB / 468.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.3176, allocations: 346.8 kB / 468.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3177, allocations: 1.531 kB / 468.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.3177, allocations: 12.5 kB / 468.5 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3177, allocations: 10.28 kB / 468.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.318, allocations: 213.5 kB / 468.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.3312, allocations: 5.907 MB / 474.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.3315, allocations: 178.5 kB / 474.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3317, allocations: 78 kB / 474.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.3424, allocations: 3.895 MB / 478.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.3424, allocations: 36.16 kB / 478.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.735e-06/0.3424, allocations: 0 / 478.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006267/0.3487, allocations: 1.413 MB / 480.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3487, allocations: 58.17 kB / 480.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.349, allocations: 265.8 kB / 480.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3491, allocations: 27.08 kB / 480.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3492, allocations: 191.6 kB / 480.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.3493, allocations: 95.55 kB / 480.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3494, allocations: 67.78 kB / 480.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3496, allocations: 336.3 kB / 481.2 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.3497, allocations: 98.64 kB / 481.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.35, allocations: 189.8 kB / 481.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.3504, allocations: 306.3 kB / 481.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3504, allocations: 1.375 kB / 481.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000678/0.3511, allocations: 389.3 kB / 482.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3511, allocations: 6.156 kB / 482.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3511, allocations: 3.469 kB / 482.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004087/0.3552, allocations: 0.9329 MB / 483.1 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.3554, allocations: 71.91 kB / 483.2 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.3572, allocations: 1.975 MB / 485.1 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3573, allocations: 8.031 kB / 485.2 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.3574, allocations: 16 kB / 485.2 MB, free: 4.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.3575, allocations: 157.7 kB / 485.3 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.3576, allocations: 35.69 kB / 485.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/0.3584, allocations: 490.3 kB / 485.8 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.3584, allocations: 8 kB / 485.8 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.3584, allocations: 6.109 kB / 485.8 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000712/0.3591, allocations: 0.7061 MB / 486.6 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3604, allocations: 0.9464 MB / 487.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3604, allocations: 0 / 487.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3606, allocations: 51.94 kB / 487.6 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.3624, allocations: 320.3 kB / 487.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3624, allocations: 4 kB / 487.9 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005303/0.3629, allocations: 0.6499 MB / 488.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3629, allocations: 0 / 488.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3639, allocations: 0.718 MB / 489.2 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.364, allocations: 101.9 kB / 489.3 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.364, allocations: 11.98 kB / 489.3 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3642, allocations: 4 kB / 489.4 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3643, allocations: 24.05 kB / 489.4 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.3643, allocations: 11.98 kB / 489.4 MB, free: 456 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.3645, allocations: 186 kB / 489.6 MB, free: 272 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3645, allocations: 3.938 kB / 489.6 MB, free: 268 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00071/0.3652, allocations: 187.7 kB / 489.8 MB, free: 80 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/0.367, allocations: 1.433 MB / 491.2 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008412/0.3679, allocations: 450.8 kB / 491.6 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3679, allocations: 4 kB / 491.6 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.3684, allocations: 212.3 kB / 491.8 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.3693, allocations: 177 kB / 492 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.3738, allocations: 3.328 MB / 495.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.3742, allocations: 0.7838 MB / 496.1 MB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.3744, allocations: 54.28 kB / 496.2 MB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3745, allocations: 95.41 kB / 496.3 MB, free: 9.34 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3745, allocations: 7.938 kB / 496.3 MB, free: 9.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.4172, allocations: 13.49 MB / 0.4978 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.52, allocations: 0 / 0.4978 GB, free: 11.99 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 16.000897296937183]