Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 120.1 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 218.2 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.5 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.0956, allocations: 53.37 MB / 427.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002446/0.09805, allocations: 1.369 MB / 428.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.1123, allocations: 12.16 MB / 440.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.1124, allocations: 0 / 440.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.1124, allocations: 7.922 kB / 440.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.1156, allocations: 1.042 MB / 441.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1172, allocations: 0.6373 MB / 442.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1173, allocations: 63.72 kB / 442.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.1174, allocations: 3.938 kB / 442.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.1174, allocations: 27.97 kB / 442.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.1175, allocations: 35.83 kB / 442.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1175, allocations: 8 kB / 442.4 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.1206, allocations: 1.635 MB / 444 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.1206, allocations: 7.984 kB / 444 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.1206, allocations: 31.84 kB / 444.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.1227, allocations: 1.064 MB / 445.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1227, allocations: 0 / 445.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1227, allocations: 0 / 445.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1227, allocations: 0 / 445.1 MB, free: 2.484 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.0008857/0.1236, allocations: 0.556 MB / 445.7 MB, free: 1.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1236, allocations: 12.03 kB / 445.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.444e-05/0.1236, allocations: 4.188 kB / 445.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.1237, allocations: 42.73 kB / 445.8 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1238, allocations: 8.891 kB / 445.8 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.124, allocations: 176.4 kB / 445.9 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.124, allocations: 8.312 kB / 445.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.124, allocations: 4.125 kB / 445.9 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1242, allocations: 71.39 kB / 446 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1242, allocations: 0 / 446 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1242, allocations: 0 / 446 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1242, allocations: 0 / 446 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1243, allocations: 27.92 kB / 446 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.1245, allocations: 182.5 kB / 446.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1248, allocations: 73.19 kB / 446.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.1249, allocations: 25.72 kB / 446.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1735/0.2983, allocations: 3.288 MB / 449.6 MB, free: 23.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2983, allocations: 35.59 kB / 449.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/0.2983, allocations: 5.5 kB / 449.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003141/0.2986, allocations: 80.72 kB / 449.7 MB, free: 23.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.2987, allocations: 82.45 kB / 449.8 MB, free: 23.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.2988, allocations: 113.6 kB / 449.9 MB, free: 23.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.2988, allocations: 28.48 kB / 449.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.2988, allocations: 81.3 kB / 450 MB, free: 23.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.2988, allocations: 26.64 kB / 450.1 MB, free: 23.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.2988, allocations: 21.38 kB / 450.1 MB, free: 23.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.2989, allocations: 317.6 kB / 450.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.2989, allocations: 9.312 kB / 450.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.299, allocations: 26.56 kB / 450.4 MB, free: 22.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2991, allocations: 46.11 kB / 450.5 MB, free: 22.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2991, allocations: 0.6562 kB / 450.5 MB, free: 22.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001418/0.2992, allocations: 68.14 kB / 450.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2993, allocations: 7.266 kB / 450.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2993, allocations: 0 / 450.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2993, allocations: 0 / 450.5 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.2993, allocations: 19.77 kB / 450.6 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2993, allocations: 0.7031 kB / 450.6 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.2994, allocations: 14.12 kB / 450.6 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.2994, allocations: 2.438 kB / 450.6 MB, free: 22.9 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 4.595e-05/0.2994, allocations: 112.5 kB / 450.7 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2995, allocations: 8.547 kB / 450.7 MB, free: 22.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.2997, allocations: 107.6 kB / 450.8 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2997, allocations: 1.094 kB / 450.8 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2997, allocations: 2.156 kB / 450.8 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2997, allocations: 0 / 450.8 MB, free: 22.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/0.2998, allocations: 172 kB / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2998, allocations: 2.422 kB / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.2998, allocations: 12.08 kB / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2998, allocations: 1.922 kB / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2999, allocations: 2.234 kB / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2999, allocations: 2.312 kB / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2999, allocations: 0 / 451 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3, allocations: 106.8 kB / 451.1 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.3001, allocations: 97.17 kB / 451.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3001, allocations: 2.125 kB / 451.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.3001, allocations: 3.5 kB / 451.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.3002, allocations: 9.594 kB / 451.2 MB, free: 22.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3002, allocations: 7.344 kB / 451.2 MB, free: 22.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.3002, allocations: 91.12 kB / 451.3 MB, free: 22.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3002, allocations: 1.156 kB / 451.3 MB, free: 22.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007344/0.301, allocations: 327.2 kB / 451.6 MB, free: 22.29 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.001236/0.3022, allocations: 1.117 MB / 452.7 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.3024, allocations: 34.98 kB / 452.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3024, allocations: 0 / 452.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.3024, allocations: 19.53 kB / 452.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.3026, allocations: 14.55 kB / 452.8 MB, free: 21.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.304, allocations: 1.469 MB / 454.3 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3041, allocations: 0.6813 MB / 455 MB, free: 19.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.3042, allocations: 49.91 kB / 455 MB, free: 19.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.3043, allocations: 35.39 kB / 455 MB, free: 19.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3043, allocations: 0 / 455 MB, free: 19.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.3363, allocations: 10.58 MB / 465.6 MB, free: 17.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/8.701, allocations: 9.953 kB / 465.6 MB, free: 17.17 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.681412772974]