Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001231/0.001231, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001366/0.001366, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.362/1.362, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 47.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.251, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002485/0.2535, allocations: 1.376 MB / 433.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.2669, allocations: 12.21 MB / 445.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.267, allocations: 0 / 445.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.267, allocations: 7.922 kB / 445.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.2702, allocations: 1.047 MB / 446.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.2722, allocations: 0.6412 MB / 447.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.2723, allocations: 63.66 kB / 447.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.2723, allocations: 7.984 kB / 447.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.2724, allocations: 23.92 kB / 447.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.2725, allocations: 39.89 kB / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2725, allocations: 0 / 447.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.276, allocations: 1.654 MB / 449 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.276, allocations: 15.84 kB / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.2761, allocations: 23.94 kB / 449 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.2785, allocations: 1.072 MB / 450.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2785, allocations: 0 / 450.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2785, allocations: 0 / 450.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2785, allocations: 0 / 450.1 MB, free: 4.617 MB / 350.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.0008073/0.2793, allocations: 492.3 kB / 450.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2794, allocations: 12.03 kB / 450.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.991e-05/0.2794, allocations: 4.188 kB / 450.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.2794, allocations: 30.75 kB / 450.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2796, allocations: 16.89 kB / 450.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2797, allocations: 118.5 kB / 450.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2797, allocations: 384 / 450.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2797, allocations: 16 kB / 450.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2799, allocations: 67.39 kB / 450.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2799, allocations: 0 / 450.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2799, allocations: 4 kB / 450.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2799, allocations: 0 / 450.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.28, allocations: 31.89 kB / 450.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.2802, allocations: 153.6 kB / 451 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.2805, allocations: 77.19 kB / 451.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.2806, allocations: 21.72 kB / 451.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005527/0.2861, allocations: 1.505 MB / 452.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2862, allocations: 34.5 kB / 452.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.2862, allocations: 0 / 452.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003308/0.2865, allocations: 85.59 kB / 452.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2865, allocations: 77.11 kB / 452.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2866, allocations: 113.8 kB / 452.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2867, allocations: 29.7 kB / 453 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.2867, allocations: 84.14 kB / 453 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.2867, allocations: 27.78 kB / 453.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.2868, allocations: 17.72 kB / 453.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2869, allocations: 314.8 kB / 453.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.287, allocations: 12 kB / 453.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.287, allocations: 21.7 kB / 453.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2871, allocations: 45.64 kB / 453.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2871, allocations: 0 / 453.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001698/0.2873, allocations: 77.94 kB / 453.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2873, allocations: 4 kB / 453.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2873, allocations: 96 / 453.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2873, allocations: 3.984 kB / 453.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.2874, allocations: 19.92 kB / 453.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2874, allocations: 0 / 453.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.2875, allocations: 4 kB / 453.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2875, allocations: 4 kB / 453.6 MB, free: 0.8984 MB / 350.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.007e-05/0.2876, allocations: 113.8 kB / 453.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.2876, allocations: 11.89 kB / 453.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.2878, allocations: 109.9 kB / 453.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2878, allocations: 0 / 453.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2878, allocations: 0 / 453.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.2879, allocations: 4 kB / 453.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.288, allocations: 140.6 kB / 453.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.288, allocations: 128 / 453.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.2881, allocations: 15.98 kB / 454 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2881, allocations: 4 kB / 454 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2881, allocations: 7.938 kB / 454 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2881, allocations: 0 / 454 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2881, allocations: 0 / 454 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.2883, allocations: 105.9 kB / 454.1 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.2883, allocations: 15.92 kB / 454.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2883, allocations: 0 / 454.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.2884, allocations: 4 kB / 454.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2884, allocations: 15.92 kB / 454.1 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2884, allocations: 4 kB / 454.1 MB, free: 284 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.2885, allocations: 91.27 kB / 454.2 MB, free: 192 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2885, allocations: 4 kB / 454.2 MB, free: 188 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007734/0.2893, allocations: 322.8 kB / 454.5 MB, free: 15.86 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.00147/0.2907, allocations: 1.12 MB / 455.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2909, allocations: 35.91 kB / 455.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2909, allocations: 3.938 kB / 455.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.291, allocations: 23.92 kB / 455.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.2911, allocations: 12 kB / 455.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.2928, allocations: 1.461 MB / 457.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2931, allocations: 0.6823 MB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.2932, allocations: 52.56 kB / 457.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.2933, allocations: 27.42 kB / 457.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2933, allocations: 0 / 457.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.3253, allocations: 10.68 MB / 468.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.4, allocations: 11.7 kB / 468.6 MB, free: 1.734 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 18.404450102010742]