Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001745/0.001745, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001979/0.001979, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.356/1.356, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09354, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00242/0.09596, allocations: 1.372 MB / 419.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.1095, allocations: 12.12 MB / 431.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.1096, allocations: 0 / 431.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.1096, allocations: 3.938 kB / 431.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.1128, allocations: 1.053 MB / 432.3 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.1145, allocations: 0.6257 MB / 433 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1146, allocations: 63.7 kB / 433 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.1147, allocations: 0 / 433 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.1147, allocations: 31.92 kB / 433 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.1148, allocations: 31.89 kB / 433.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1148, allocations: 7.938 kB / 433.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.118, allocations: 1.635 MB / 434.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.118, allocations: 15.91 kB / 434.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.118, allocations: 19.94 kB / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.1202, allocations: 1.076 MB / 435.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1202, allocations: 0 / 435.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1202, allocations: 0 / 435.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1202, allocations: 0 / 435.8 MB, free: 10.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008382/0.121, allocations: 0.5599 MB / 436.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1211, allocations: 8.031 kB / 436.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.1211, allocations: 34.75 kB / 436.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1212, allocations: 12.92 kB / 436.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1214, allocations: 180.3 kB / 436.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1214, allocations: 4.375 kB / 436.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1214, allocations: 384 / 436.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1216, allocations: 71.33 kB / 436.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1216, allocations: 0 / 436.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1216, allocations: 4 kB / 436.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1216, allocations: 0 / 436.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1217, allocations: 23.92 kB / 436.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.1219, allocations: 174.5 kB / 436.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.1223, allocations: 81.12 kB / 437 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.1223, allocations: 25.77 kB / 437 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006823/0.1292, allocations: 3.297 MB / 440.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1292, allocations: 38.56 kB / 440.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1292, allocations: 0 / 440.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003431/0.1296, allocations: 85.69 kB / 440.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1296, allocations: 77.11 kB / 440.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1297, allocations: 117.8 kB / 440.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1297, allocations: 29.69 kB / 440.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.1298, allocations: 84.14 kB / 440.7 MB, free: 4.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1298, allocations: 23.73 kB / 440.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1299, allocations: 25.7 kB / 440.8 MB, free: 4.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.13, allocations: 310.8 kB / 441.1 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.1301, allocations: 19.92 kB / 441.1 MB, free: 4.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.1301, allocations: 25.72 kB / 441.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1302, allocations: 37.64 kB / 441.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1302, allocations: 0 / 441.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000165/0.1304, allocations: 73.55 kB / 441.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1304, allocations: 8 kB / 441.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1304, allocations: 0 / 441.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1304, allocations: 0 / 441.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.1305, allocations: 15.98 kB / 441.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1305, allocations: 0 / 441.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.1305, allocations: 7.953 kB / 441.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1306, allocations: 0 / 441.3 MB, free: 4.352 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.93e-05/0.1306, allocations: 114.5 kB / 441.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1307, allocations: 11.92 kB / 441.4 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1309, allocations: 109.4 kB / 441.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1309, allocations: 0 / 441.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1309, allocations: 128 / 441.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1309, allocations: 0 / 441.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1311, allocations: 177.6 kB / 441.7 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1311, allocations: 3.938 kB / 441.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.1311, allocations: 8 kB / 441.7 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1311, allocations: 0 / 441.7 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1312, allocations: 7.984 kB / 441.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1312, allocations: 4.312 kB / 441.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1312, allocations: 0 / 441.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.1313, allocations: 98.34 kB / 441.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1314, allocations: 92.92 kB / 441.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1314, allocations: 4 kB / 441.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.1315, allocations: 7.969 kB / 441.9 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1315, allocations: 12 kB / 441.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1316, allocations: 7.984 kB / 441.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.1316, allocations: 91.27 kB / 442 MB, free: 3.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1316, allocations: 0 / 442 MB, free: 3.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000794/0.1324, allocations: 326.8 kB / 442.3 MB, free: 3.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.134, allocations: 1.133 MB / 443.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1341, allocations: 27.98 kB / 443.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1341, allocations: 0 / 443.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.1342, allocations: 31.86 kB / 443.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1344, allocations: 12 kB / 443.5 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.1362, allocations: 1.453 MB / 445 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1662/0.3023, allocations: 0.6792 MB / 445.6 MB, free: 30.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.3025, allocations: 47.83 kB / 445.7 MB, free: 30.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.3025, allocations: 24.72 kB / 445.7 MB, free: 30.54 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3025, allocations: 1.812 kB / 445.7 MB, free: 30.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3355, allocations: 10.54 MB / 456.3 MB, free: 28.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.469, allocations: 9.141 kB / 456.3 MB, free: 28.75 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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: 13.752877165097743]