Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 113.6 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 52.39 kB / 280.2 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07492/0.07595, allocations: 46.64 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02298/0.09897, allocations: 26.97 MB / 353.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.103, allocations: 4.132 MB / 358 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1032, allocations: 7.938 kB / 358 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.1037, allocations: 179.1 kB / 358.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.1042, allocations: 318.3 kB / 358.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.1073, allocations: 1.3 MB / 359.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000734/0.1081, allocations: 0.8913 MB / 360.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1082, allocations: 92.69 kB / 360.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/0.1137, allocations: 4.348 MB / 365.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.114, allocations: 286.9 kB / 365.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.1141, allocations: 32 kB / 365.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1151, allocations: 0.7336 MB / 366.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-05/0.1152, allocations: 87.73 kB / 366.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.1154, allocations: 195.2 kB / 366.4 MB, free: 13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.1163, allocations: 0.8573 MB / 367.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1163, allocations: 0 / 367.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1163, allocations: 0 / 367.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1163, allocations: 0 / 367.3 MB, free: 12.14 MB / 318.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.0007381/0.117, allocations: 0.6432 MB / 367.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1171, allocations: 8.031 kB / 367.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.1171, allocations: 66.72 kB / 368 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/0.1175, allocations: 56.55 kB / 368.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1178, allocations: 291.7 kB / 368.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1179, allocations: 20.94 kB / 368.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1179, allocations: 24.38 kB / 368.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.1184, allocations: 346.4 kB / 368.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1184, allocations: 0 / 368.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1184, allocations: 12 kB / 368.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1184, allocations: 8 kB / 368.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.1187, allocations: 206 kB / 368.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.1306, allocations: 5.912 MB / 374.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.1309, allocations: 178.6 kB / 375 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.131, allocations: 92.83 kB / 375.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1291/0.2601, allocations: 3.878 MB / 379 MB, free: 58.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2602, allocations: 43.16 kB / 379 MB, free: 58.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.2602, allocations: 0.8438 kB / 379 MB, free: 58.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005989/0.2662, allocations: 1.406 MB / 380.4 MB, free: 57.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.2662, allocations: 58.75 kB / 380.5 MB, free: 57.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.2665, allocations: 263.4 kB / 380.8 MB, free: 57.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2666, allocations: 30.77 kB / 380.8 MB, free: 57.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.2667, allocations: 187.3 kB / 381 MB, free: 57.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.2667, allocations: 89.3 kB / 381.1 MB, free: 57.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.2668, allocations: 68.73 kB / 381.1 MB, free: 57.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.2669, allocations: 335.2 kB / 381.5 MB, free: 56.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.267, allocations: 89.06 kB / 381.5 MB, free: 56.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.2672, allocations: 190.9 kB / 381.7 MB, free: 56.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.2675, allocations: 308.9 kB / 382 MB, free: 56.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2675, allocations: 1.094 kB / 382 MB, free: 56.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005814/0.2681, allocations: 395.5 kB / 382.4 MB, free: 56.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2682, allocations: 7.344 kB / 382.4 MB, free: 56.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2682, allocations: 1.5 kB / 382.4 MB, free: 56.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/0.2722, allocations: 0.9417 MB / 383.4 MB, free: 56.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2724, allocations: 70.73 kB / 383.4 MB, free: 56.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.2735, allocations: 1.981 MB / 385.4 MB, free: 54.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.2737, allocations: 26.78 kB / 385.4 MB, free: 54.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2738, allocations: 16.81 kB / 385.5 MB, free: 54.37 MB / 318.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.0001182/0.2739, allocations: 155.2 kB / 385.6 MB, free: 54.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.274, allocations: 27.62 kB / 385.6 MB, free: 54.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.2746, allocations: 495.6 kB / 386.1 MB, free: 53.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.2746, allocations: 12.44 kB / 386.1 MB, free: 53.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2746, allocations: 4.688 kB / 386.1 MB, free: 53.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004933/0.2751, allocations: 0.7165 MB / 386.9 MB, free: 53.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.2762, allocations: 0.9394 MB / 387.8 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2762, allocations: 1.156 kB / 387.8 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.2764, allocations: 45.52 kB / 387.8 MB, free: 52.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.2781, allocations: 324.5 kB / 388.2 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2781, allocations: 7.391 kB / 388.2 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003323/0.2784, allocations: 0.6414 MB / 388.8 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2784, allocations: 6.594 kB / 388.8 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007605/0.2792, allocations: 0.724 MB / 389.5 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.2793, allocations: 106.7 kB / 389.6 MB, free: 51.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.2793, allocations: 7.438 kB / 389.7 MB, free: 51.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2795, allocations: 20.83 kB / 389.7 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2796, allocations: 18.06 kB / 389.7 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.2796, allocations: 9.062 kB / 389.7 MB, free: 51.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.2797, allocations: 186.7 kB / 389.9 MB, free: 51.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2798, allocations: 1.312 kB / 389.9 MB, free: 51.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005522/0.2803, allocations: 188 kB / 390.1 MB, free: 51.43 MB / 318.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.001355/0.2817, allocations: 1.425 MB / 391.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.2824, allocations: 463.4 kB / 391.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2824, allocations: 0 / 391.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.2829, allocations: 240.2 kB / 392.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.2838, allocations: 169.3 kB / 392.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.2872, allocations: 3.468 MB / 395.8 MB, free: 47.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2874, allocations: 0.7781 MB / 396.6 MB, free: 46.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.2876, allocations: 55.72 kB / 396.6 MB, free: 46.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.2878, allocations: 100.2 kB / 396.7 MB, free: 46.89 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2878, allocations: 0 / 396.7 MB, free: 46.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2536/0.5414, allocations: 13.17 MB / 409.9 MB, free: 35.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.5416, allocations: 230.3 kB / 410.1 MB, free: 35.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.147, allocations: 0 / 410.1 MB, free: 35.56 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches