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.005177/0.005177, allocations: 114.2 kB / 21.97 MB, free: 5.223 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.001364/0.001364, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.32/1.32, allocations: 207.6 MB / 236 MB, free: 9.984 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.001701/0.001701, allocations: 58.58 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002064/0.24, allocations: 1.354 MB / 398.5 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2502, allocations: 12.2 MB / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.2502, allocations: 0 / 410.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.2503, allocations: 6.516 kB / 410.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.2537, allocations: 1.045 MB / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.2557, allocations: 0.6424 MB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2558, allocations: 60.12 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2558, allocations: 3.5 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.802e-05/0.2559, allocations: 28.72 kB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.256, allocations: 40.59 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.256, allocations: 2.75 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.2591, allocations: 1.647 MB / 414.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2591, allocations: 13.58 kB / 414.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.2592, allocations: 25.53 kB / 414.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.261, allocations: 1.073 MB / 415.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.261, allocations: 0 / 415.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.261, allocations: 0 / 415.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.261, allocations: 0 / 415.3 MB, free: 13.01 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.0006898/0.2617, allocations: 483.8 kB / 415.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2617, allocations: 14.23 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.291e-05/0.2617, allocations: 4.188 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.2618, allocations: 39.94 kB / 415.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2619, allocations: 14.75 kB / 415.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.262, allocations: 125.3 kB / 415.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.262, allocations: 5.438 kB / 415.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.262, allocations: 10.36 kB / 416 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2622, allocations: 64.73 kB / 416 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2622, allocations: 4 kB / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2622, allocations: 1.219 kB / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2622, allocations: 1.188 kB / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.2623, allocations: 28.36 kB / 416.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.2625, allocations: 148.3 kB / 416.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.2628, allocations: 77.69 kB / 416.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.2628, allocations: 28.95 kB / 416.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005289/0.2681, allocations: 1.486 MB / 417.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2682, allocations: 40.02 kB / 417.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2682, allocations: 0 / 417.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002942/0.2685, allocations: 81.41 kB / 417.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2685, allocations: 79.02 kB / 418 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2686, allocations: 118.6 kB / 418.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2686, allocations: 27.45 kB / 418.1 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.2687, allocations: 96.12 kB / 418.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.2687, allocations: 19.48 kB / 418.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.2687, allocations: 17.31 kB / 418.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2689, allocations: 320.6 kB / 418.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.2689, allocations: 6.969 kB / 418.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.269, allocations: 34.58 kB / 418.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.2691, allocations: 47.41 kB / 418.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2691, allocations: 0 / 418.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001622/0.2693, allocations: 74.19 kB / 418.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2693, allocations: 5.344 kB / 418.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2693, allocations: 3.938 kB / 418.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2693, allocations: 3.125 kB / 418.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.2693, allocations: 15.23 kB / 418.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2694, allocations: 1.219 kB / 418.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.2694, allocations: 0.9688 kB / 418.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2694, allocations: 7.281 kB / 418.8 MB, free: 10.41 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 8.038e-05/0.2695, allocations: 111.5 kB / 418.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.2695, allocations: 11.08 kB / 418.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2698, allocations: 101.3 kB / 419 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2698, allocations: 0 / 419 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2698, allocations: 5.219 kB / 419 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2698, allocations: 3.984 kB / 419 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2699, allocations: 142.6 kB / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2699, allocations: 0 / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.27, allocations: 9.812 kB / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.27, allocations: 1.125 kB / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.27, allocations: 1.125 kB / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.27, allocations: 1.25 kB / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.27, allocations: 0 / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2702, allocations: 112.1 kB / 419.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.2702, allocations: 15.3 kB / 419.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.2702, allocations: 6.219 kB / 419.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.2703, allocations: 6.109 kB / 419.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.2703, allocations: 2.5 kB / 419.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2703, allocations: 7.672 kB / 419.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.2704, allocations: 95.25 kB / 419.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2704, allocations: 0 / 419.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008384/0.2712, allocations: 326.4 kB / 419.7 MB, free: 9.715 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.00146/0.2727, allocations: 1.131 MB / 420.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.2729, allocations: 32.67 kB / 420.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2729, allocations: 1.188 kB / 420.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.2729, allocations: 16.11 kB / 420.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.2731, allocations: 9.688 kB / 420.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2747, allocations: 1.462 MB / 422.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.275, allocations: 0.6845 MB / 423 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.2751, allocations: 55.19 kB / 423.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.2752, allocations: 23.61 kB / 423.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2752, allocations: 4 kB / 423.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.3075, allocations: 10.69 MB / 433.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.14, allocations: 64 / 433.8 MB, free: 14.08 MB / 350.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.030320997000672]