Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.005614/0.005614, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001392/0.001392, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] 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.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.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 47.92 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2254, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001995/0.2274, allocations: 1.322 MB / 398.4 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009152/0.2366, allocations: 10.69 MB / 409.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.2366, allocations: 3.938 kB / 409.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.2366, allocations: 3.25 kB / 409.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.2393, allocations: 1.026 MB / 410.2 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.2408, allocations: 0.6425 MB / 410.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.241, allocations: 56.27 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.241, allocations: 3.656 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.241, allocations: 33.97 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.2411, allocations: 35.69 kB / 410.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2411, allocations: 3.594 kB / 410.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.2439, allocations: 1.558 MB / 412.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.2439, allocations: 18.8 kB / 412.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.2439, allocations: 21.7 kB / 412.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.2455, allocations: 1.042 MB / 413.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2455, allocations: 0 / 413.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2455, allocations: 0 / 413.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2456, allocations: 0 / 413.6 MB, free: 14.63 MB / 334.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.0006803/0.2462, allocations: 484.8 kB / 414.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2463, allocations: 21.56 kB / 414.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.194e-05/0.2463, allocations: 1.312 kB / 414.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.2463, allocations: 35.88 kB / 414.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2464, allocations: 15.23 kB / 414.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2466, allocations: 124.4 kB / 414.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2466, allocations: 1.781 kB / 414.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2466, allocations: 5.75 kB / 414.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2468, allocations: 122.1 kB / 414.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2468, allocations: 0 / 414.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2468, allocations: 0 / 414.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2468, allocations: 1.25 kB / 414.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2469, allocations: 29.78 kB / 414.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2471, allocations: 143.7 kB / 414.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.2473, allocations: 83.34 kB / 414.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.2474, allocations: 25.62 kB / 414.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005535/0.2529, allocations: 1.498 MB / 416.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.253, allocations: 32.81 kB / 416.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.253, allocations: 7.938 kB / 416.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003158/0.2533, allocations: 89.89 kB / 416.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.2533, allocations: 78.14 kB / 416.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.2534, allocations: 110.9 kB / 416.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2535, allocations: 27.02 kB / 416.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.2535, allocations: 85.27 kB / 416.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2535, allocations: 21.95 kB / 416.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.2536, allocations: 19.78 kB / 416.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2537, allocations: 316.1 kB / 416.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.2538, allocations: 19.03 kB / 416.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.2538, allocations: 22.95 kB / 417 MB, free: 12.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.254, allocations: 42.62 kB / 417 MB, free: 12.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.254, allocations: 0 / 417 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001692/0.2541, allocations: 78.34 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2541, allocations: 4.656 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2541, allocations: 1.156 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2542, allocations: 1.094 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.2542, allocations: 8.844 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2542, allocations: 9.203 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.2543, allocations: 1.25 kB / 417.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2543, allocations: 3.156 kB / 417.1 MB, free: 12 MB / 334.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 0.0001238/0.2544, allocations: 112 kB / 417.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2544, allocations: 11.48 kB / 417.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.2547, allocations: 112 kB / 417.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2547, allocations: 2.125 kB / 417.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2547, allocations: 0 / 417.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2547, allocations: 1 kB / 417.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2549, allocations: 138.5 kB / 417.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2549, allocations: 0 / 417.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.2549, allocations: 13.48 kB / 417.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2549, allocations: 0.9688 kB / 417.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2549, allocations: 5.5 kB / 417.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2549, allocations: 5.25 kB / 417.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2549, allocations: 0 / 417.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2551, allocations: 113.7 kB / 417.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.2552, allocations: 15.45 kB / 417.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2552, allocations: 1.875 kB / 417.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.2553, allocations: 2.094 kB / 417.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2553, allocations: 11.2 kB / 417.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2553, allocations: 2.375 kB / 417.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.831e-05/0.2554, allocations: 92.11 kB / 417.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2554, allocations: 1.094 kB / 417.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000883/0.2563, allocations: 329.4 kB / 418.1 MB, free: 11.29 MB / 334.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.001502/0.2578, allocations: 1.121 MB / 419.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.2579, allocations: 37.25 kB / 419.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2579, allocations: 0 / 419.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.258, allocations: 20.27 kB / 419.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.2582, allocations: 13.53 kB / 419.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.2599, allocations: 1.477 MB / 420.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.26, allocations: 68.39 kB / 420.8 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.2601, allocations: 48.14 kB / 420.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.2601, allocations: 26.88 kB / 420.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2601, allocations: 0 / 420.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.2933, allocations: 10.8 MB / 431.7 MB, free: 28 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.19, allocations: 11.98 kB / 431.7 MB, free: 16 kB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 18.12552635697648]