Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.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.001574/0.001574, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001771/0.001771, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9784/0.9784, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.178e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00284/0.002872, allocations: 1.404 MB / 274.3 MB, free: 36 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2653/0.2681, allocations: 144.6 MB / 418.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.2682, allocations: 4 kB / 418.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.2682, allocations: 3.938 kB / 418.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008768/0.2691, allocations: 254.7 kB / 419.1 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.2699, allocations: 407.2 kB / 419.5 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.27, allocations: 67.64 kB / 419.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.27, allocations: 0 / 419.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.2701, allocations: 31.91 kB / 419.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.2701, allocations: 23.91 kB / 419.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2702, allocations: 4 kB / 419.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.2709, allocations: 0.5767 MB / 420.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.271, allocations: 11.92 kB / 420.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.271, allocations: 16 kB / 420.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.2716, allocations: 0.5299 MB / 420.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2716, allocations: 4 kB / 420.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2717, allocations: 0 / 420.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2717, allocations: 0 / 420.8 MB, free: 13.42 MB / 378.7 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.0004673/0.2721, allocations: 457 kB / 421.2 MB, free: 12.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2722, allocations: 11.98 kB / 421.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007002/0.2729, allocations: 117.7 kB / 421.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2731, allocations: 229.1 kB / 421.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2731, allocations: 4.5 kB / 421.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.2732, allocations: 11.94 kB / 421.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.2733, allocations: 96.97 kB / 421.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2733, allocations: 0 / 421.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2733, allocations: 4 kB / 421.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2733, allocations: 4 kB / 421.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.155e-05/0.2734, allocations: 47.88 kB / 421.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.2736, allocations: 148.9 kB / 421.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.2739, allocations: 139.4 kB / 422 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.2739, allocations: 43.28 kB / 422.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.2741, allocations: 96.58 kB / 422.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2742, allocations: 37.33 kB / 422.2 MB, free: 11.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2742, allocations: 0 / 422.2 MB, free: 11.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002674/0.2744, allocations: 137.5 kB / 422.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2745, allocations: 81.11 kB / 422.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2746, allocations: 225.9 kB / 422.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.2746, allocations: 25.7 kB / 422.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.2747, allocations: 126.9 kB / 422.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2747, allocations: 27.78 kB / 422.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.2747, allocations: 35.36 kB / 422.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2749, allocations: 0.4884 MB / 423.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.2749, allocations: 23.97 kB / 423.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.275, allocations: 70.64 kB / 423.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2751, allocations: 90.66 kB / 423.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2751, allocations: 3.938 kB / 423.5 MB, free: 10.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001766/0.2753, allocations: 122.2 kB / 423.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2753, allocations: 8.609 kB / 423.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2753, allocations: 4 kB / 423.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2753, allocations: 0 / 423.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.2754, allocations: 27.97 kB / 423.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2754, allocations: 8 kB / 423.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.2754, allocations: 4 kB / 423.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2755, allocations: 7.984 kB / 423.7 MB, free: 10.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 6.93e-05/0.2755, allocations: 156.6 kB / 423.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2756, allocations: 15.89 kB / 423.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.2759, allocations: 183.7 kB / 424.1 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2759, allocations: 3.984 kB / 424.1 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2759, allocations: 8 kB / 424.1 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2759, allocations: 1.062 kB / 424.1 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.276, allocations: 142.7 kB / 424.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.276, allocations: 0.5156 kB / 424.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.2761, allocations: 23.91 kB / 424.2 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2761, allocations: 0 / 424.2 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2761, allocations: 11.94 kB / 424.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2761, allocations: 0 / 424.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2761, allocations: 1.562 kB / 424.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2763, allocations: 164 kB / 424.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.2764, allocations: 51.89 kB / 424.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.2764, allocations: 7.938 kB / 424.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.2765, allocations: 0 / 424.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2765, allocations: 7.984 kB / 424.5 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2765, allocations: 8.688 kB / 424.5 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.2766, allocations: 187.8 kB / 424.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2766, allocations: 0 / 424.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.277, allocations: 131.6 kB / 424.8 MB, free: 9.082 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004603/0.2775, allocations: 329 kB / 425.1 MB, free: 8.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.2776, allocations: 71.58 kB / 425.2 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2776, allocations: 0 / 425.2 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.2777, allocations: 47.59 kB / 425.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.2779, allocations: 28.19 kB / 425.3 MB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.2786, allocations: 279.3 kB / 425.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.2786, allocations: 59.34 kB / 425.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006132/0.2792, allocations: 427.9 kB / 426 MB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.2793, allocations: 44.45 kB / 426.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2793, allocations: 0 / 426.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of Templates: time 0.007126/0.2864, allocations: 5.658 MB / 431.7 MB, free: 2.18 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3593963840976357]