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.001737/0.001737, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002257/0.002257, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.354/1.354, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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="me",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="me",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.001925/0.001925, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2329, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002148/0.235, allocations: 1.355 MB / 397.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2457, allocations: 12.2 MB / 409.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.2458, allocations: 0 / 409.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.2458, allocations: 6.203 kB / 409.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.2493, allocations: 1.052 MB / 411 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.2511, allocations: 0.6433 MB / 411.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2512, allocations: 61.41 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.2513, allocations: 6.031 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.2513, allocations: 30.28 kB / 411.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.2514, allocations: 33.12 kB / 411.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2514, allocations: 2.75 kB / 411.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.2549, allocations: 1.647 MB / 413.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.2549, allocations: 10.34 kB / 413.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.255, allocations: 26.56 kB / 413.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.2571, allocations: 1.076 MB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2571, allocations: 0 / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2571, allocations: 1.438 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.2571, allocations: 4 kB / 414.5 MB, free: 12.99 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.0007606/0.2579, allocations: 483 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2579, allocations: 14.02 kB / 415 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.258, allocations: 36.05 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2581, allocations: 10.64 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2582, allocations: 125.3 kB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2582, allocations: 1.312 kB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.2582, allocations: 6.688 kB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2584, allocations: 75.92 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2584, allocations: 0 / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2584, allocations: 5.203 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2584, allocations: 1.188 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.2585, allocations: 21.67 kB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.2587, allocations: 147.4 kB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.259, allocations: 82.22 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.2591, allocations: 20.61 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005567/0.2646, allocations: 1.501 MB / 417 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2647, allocations: 31.81 kB / 417 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2647, allocations: 1.5 kB / 417 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000304/0.265, allocations: 85.25 kB / 417.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.265, allocations: 81.09 kB / 417.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2651, allocations: 115.8 kB / 417.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2652, allocations: 33.7 kB / 417.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.2652, allocations: 85.95 kB / 417.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.2652, allocations: 23.42 kB / 417.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.2653, allocations: 21.42 kB / 417.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2654, allocations: 312.6 kB / 417.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.2655, allocations: 15.2 kB / 417.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.2655, allocations: 26.52 kB / 417.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2656, allocations: 42.17 kB / 417.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2656, allocations: 0 / 417.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001638/0.2658, allocations: 79.38 kB / 417.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2658, allocations: 8.109 kB / 418 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2658, allocations: 2.125 kB / 418 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2658, allocations: 3.938 kB / 418 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.2659, allocations: 8.969 kB / 418 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2659, allocations: 3.219 kB / 418 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.2659, allocations: 4 kB / 418 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2659, allocations: 6.984 kB / 418 MB, free: 10.4 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 9.997e-05/0.266, allocations: 117.2 kB / 418.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2661, allocations: 8.766 kB / 418.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.2663, allocations: 103.8 kB / 418.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2663, allocations: 1.094 kB / 418.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2663, allocations: 1.188 kB / 418.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2663, allocations: 1 kB / 418.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.2665, allocations: 133.5 kB / 418.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2665, allocations: 5.031 kB / 418.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.2665, allocations: 12.92 kB / 418.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2665, allocations: 1.031 kB / 418.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2666, allocations: 5.188 kB / 418.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2666, allocations: 8.859 kB / 418.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2666, allocations: 5.062 kB / 418.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.2667, allocations: 96.92 kB / 418.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2668, allocations: 19.17 kB / 418.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2668, allocations: 1 kB / 418.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.2669, allocations: 2.25 kB / 418.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.2669, allocations: 15.52 kB / 418.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.2669, allocations: 2.281 kB / 418.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.267, allocations: 95.95 kB / 418.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.267, allocations: 0 / 418.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00087/0.2679, allocations: 326 kB / 418.9 MB, free: 9.703 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.001702/0.2696, allocations: 1.127 MB / 420 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2698, allocations: 37.19 kB / 420.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2698, allocations: 0 / 420.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.2698, allocations: 16.47 kB / 420.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.27, allocations: 13.58 kB / 420.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2718, allocations: 1.456 MB / 421.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2721, allocations: 0.6885 MB / 422.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.2722, allocations: 44.03 kB / 422.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.2723, allocations: 36.25 kB / 422.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2723, allocations: 0 / 422.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/0.3154, allocations: 10.64 MB / 433 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.41, allocations: 13 kB / 433 MB, free: 14.13 MB / 350.1 MB " [Timeout remaining time 648] (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: 16.83836248703301]