Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001597/0.001597, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001736/0.001736, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 75.77 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2381, allocations: 53.3 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002524/0.2406, allocations: 1.384 MB / 433.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.2706, allocations: 23.81 MB / 457.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.2707, allocations: 0 / 457.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2708, allocations: 3.938 kB / 457.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.285, allocations: 6.012 MB / 463.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.2857, allocations: 346.8 kB / 463.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2859, allocations: 79.62 kB / 463.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.2859, allocations: 7.938 kB / 463.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.286, allocations: 31.91 kB / 463.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.2861, allocations: 47.81 kB / 463.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2861, allocations: 7.938 kB / 463.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01577/0.3018, allocations: 8.995 MB / 472.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.3019, allocations: 15.92 kB / 472.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.3019, allocations: 23.92 kB / 472.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009824/0.3118, allocations: 4.389 MB / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3118, allocations: 0 / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3118, allocations: 0 / 477.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3118, allocations: 4 kB / 477.2 MB, free: 10.11 MB / 382.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.002435/0.3142, allocations: 0.951 MB / 478.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3143, allocations: 12.03 kB / 478.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.3143, allocations: 8.891 kB / 478.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3145, allocations: 203.8 kB / 478.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3145, allocations: 4 kB / 478.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3146, allocations: 0 / 478.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3147, allocations: 75.39 kB / 478.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3148, allocations: 3.984 kB / 478.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3148, allocations: 4 kB / 478.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3148, allocations: 0 / 478.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3149, allocations: 35.91 kB / 478.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.3151, allocations: 190.5 kB / 478.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3154, allocations: 97.12 kB / 478.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.3155, allocations: 29.77 kB / 478.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.3156, allocations: 11.98 kB / 478.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3156, allocations: 34.56 kB / 478.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3156, allocations: 0 / 478.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003181/0.3159, allocations: 101.5 kB / 478.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.316, allocations: 85.11 kB / 479 MB, free: 8.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3161, allocations: 137.8 kB / 479.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3161, allocations: 25.7 kB / 479.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.3162, allocations: 88.14 kB / 479.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3162, allocations: 23.78 kB / 479.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3162, allocations: 17.72 kB / 479.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3164, allocations: 326.8 kB / 479.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.3164, allocations: 16 kB / 479.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.3165, allocations: 25.7 kB / 479.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3166, allocations: 57.62 kB / 479.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3166, allocations: 0 / 479.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001866/0.3168, allocations: 82.03 kB / 479.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3168, allocations: 11.94 kB / 479.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3168, allocations: 0 / 479.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3168, allocations: 0 / 479.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.3169, allocations: 15.98 kB / 479.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3169, allocations: 0 / 479.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.317, allocations: 3.953 kB / 479.8 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.317, allocations: 4 kB / 479.8 MB, free: 7.199 MB / 382.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.175e-05/0.3171, allocations: 117.8 kB / 479.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3171, allocations: 12.02 kB / 480 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.3173, allocations: 101.5 kB / 480.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3173, allocations: 0 / 480.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3173, allocations: 0 / 480.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3173, allocations: 4 kB / 480.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3175, allocations: 181.5 kB / 480.2 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3175, allocations: 4 kB / 480.2 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.3176, allocations: 15.94 kB / 480.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3176, allocations: 0 / 480.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3176, allocations: 4.109 kB / 480.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3176, allocations: 12 kB / 480.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3176, allocations: 0 / 480.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.3178, allocations: 109.9 kB / 480.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.3179, allocations: 89.05 kB / 480.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3179, allocations: 0 / 480.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.318, allocations: 4 kB / 480.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.318, allocations: 15.98 kB / 480.5 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.318, allocations: 0 / 480.5 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.474e-05/0.3181, allocations: 115.5 kB / 480.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3181, allocations: 4 kB / 480.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002507/0.3206, allocations: 0.9585 MB / 481.6 MB, free: 5.359 MB / 382.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.004359/0.325, allocations: 1.353 MB / 482.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3252, allocations: 47.97 kB / 483 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3252, allocations: 0 / 483 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.3253, allocations: 27.92 kB / 483 MB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3255, allocations: 11.98 kB / 483 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.326, allocations: 218.1 kB / 483.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3263, allocations: 0.6807 MB / 483.9 MB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.3264, allocations: 19.44 kB / 483.9 MB, free: 2.945 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3264, allocations: 0 / 483.9 MB, free: 2.945 MB / 382.1 MB Notification: Performance of Templates: time 0.02999/0.3563, allocations: 18.37 MB / 0.4905 GB, free: 0.5469 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 10.701964973006397]