Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 153.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8857/0.8857, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.171e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03104/0.03105, allocations: 45.29 MB / 363.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.03463, allocations: 4.697 MB / 368.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.03479, allocations: 11.88 kB / 368.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.03538, allocations: 234.5 kB / 368.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.03582, allocations: 385.5 kB / 369 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.048, allocations: 7.187 MB / 376.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009636/0.04896, allocations: 1.107 MB / 377.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.04915, allocations: 101.8 kB / 377.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.05358, allocations: 3.77 MB / 381.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.05402, allocations: 370.9 kB / 381.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.05409, allocations: 56 kB / 381.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.06443, allocations: 9.317 MB / 390.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.06463, allocations: 243.4 kB / 391.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.06482, allocations: 239.6 kB / 391.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007996/0.07282, allocations: 6.673 MB / 398.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.07282, allocations: 4 kB / 398.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07283, allocations: 4 kB / 398.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.07284, allocations: 0 / 398.1 MB, free: 6.461 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002335/0.07517, allocations: 1.311 MB / 399.4 MB, free: 5.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.07521, allocations: 12.92 kB / 399.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.053e-05/0.07528, allocations: 86.52 kB / 399.5 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.07548, allocations: 67.66 kB / 399.6 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.07584, allocations: 304.2 kB / 399.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.07586, allocations: 37 kB / 399.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.07591, allocations: 40 kB / 399.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008699/0.07678, allocations: 0.8932 MB / 400.8 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.07679, allocations: 0 / 400.8 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.07683, allocations: 24 kB / 400.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.07684, allocations: 12 kB / 400.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.07777, allocations: 0.7378 MB / 401.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.08373, allocations: 3.67 MB / 405.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.0845, allocations: 0.501 MB / 405.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.08474, allocations: 249.4 kB / 406 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004789/0.08953, allocations: 2.569 MB / 408.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.08955, allocations: 39.06 kB / 408.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.974e-06/0.08956, allocations: 4 kB / 408.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003138/0.09269, allocations: 1.904 MB / 410.5 MB, free: 9.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.09272, allocations: 55.91 kB / 410.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.09296, allocations: 328.1 kB / 410.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.09299, allocations: 37.7 kB / 410.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.09308, allocations: 204.8 kB / 411.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.09317, allocations: 202.2 kB / 411.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.09328, allocations: 114.3 kB / 411.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.09337, allocations: 342.8 kB / 411.8 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.09363, allocations: 245.2 kB / 412 MB, free: 8.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.09401, allocations: 348.3 kB / 412.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.09471, allocations: 0.5968 MB / 413 MB, free: 7.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09471, allocations: 0 / 413 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001045/0.09576, allocations: 0.7537 MB / 413.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.09577, allocations: 12 kB / 413.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.09578, allocations: 4 kB / 413.7 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.09605, allocations: 106.4 kB / 413.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.0963, allocations: 127.8 kB / 414 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.09788, allocations: 3.25 MB / 417.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.09801, allocations: 19.98 kB / 417.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.09805, allocations: 28 kB / 417.3 MB, free: 2.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.09821, allocations: 194 kB / 417.5 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.09835, allocations: 59.7 kB / 417.5 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000917/0.09927, allocations: 0.8166 MB / 418.3 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.09927, allocations: 4 kB / 418.3 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.09928, allocations: 0 / 418.3 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006716/0.09995, allocations: 0.7611 MB / 419.1 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1012, allocations: 1.181 MB / 420.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1012, allocations: 3.984 kB / 420.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1014, allocations: 99.95 kB / 420.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.1018, allocations: 152.6 kB / 420.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.1019, allocations: 23.92 kB / 420.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002437/0.1021, allocations: 0.6485 MB / 421.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1021, allocations: 0 / 421.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/0.1031, allocations: 0.9072 MB / 422.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.1031, allocations: 47.8 kB / 422.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.1032, allocations: 12 kB / 422.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.1034, allocations: 15.98 kB / 422.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1034, allocations: 32.44 kB / 422.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.1034, allocations: 35.97 kB / 422.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1036, allocations: 255.1 kB / 422.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1036, allocations: 0 / 422.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002456/0.1061, allocations: 1.333 MB / 423.8 MB, free: 11.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004512/0.1106, allocations: 3.214 MB / 427 MB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000891/0.1115, allocations: 0.7776 MB / 427.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1115, allocations: 7.938 kB / 427.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.1118, allocations: 276.2 kB / 428.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.1125, allocations: 284.2 kB / 428.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.1179, allocations: 5.255 MB / 433.6 MB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.118, allocations: 237.6 kB / 433.9 MB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.1184, allocations: 144.2 kB / 434 MB, free: 1.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1185, allocations: 160.4 kB / 434.2 MB, free: 1.254 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1185, allocations: 4 kB / 434.2 MB, free: 1.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/0.2847, allocations: 52.43 MB / 486.6 MB, free: 92.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.138/9.422, allocations: 6.812 kB / 486.6 MB, free: 92.21 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 19.390805398114026]