Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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.001304/0.001304, allocations: 111.1 kB / 20.44 MB, free: 1.172 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.001424/0.001424, allocations: 213.3 kB / 23.73 MB, free: 4.383 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.785 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 378.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2515, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002595/0.2541, allocations: 1.351 MB / 432.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3939/0.648, allocations: 130.6 MB / 0.5503 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.6481, allocations: 0.625 kB / 0.5503 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.6481, allocations: 6.781 kB / 0.5503 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009154/0.649, allocations: 237.3 kB / 0.5506 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.65, allocations: 414.8 kB / 0.551 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.65, allocations: 58.44 kB / 0.551 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.6501, allocations: 6.281 kB / 0.551 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.6501, allocations: 26.06 kB / 0.551 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.6502, allocations: 29.59 kB / 0.5511 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.6502, allocations: 2.75 kB / 0.5511 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.6512, allocations: 0.5877 MB / 0.5517 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.6512, allocations: 9.047 kB / 0.5517 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.6513, allocations: 17.38 kB / 0.5517 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.652, allocations: 479.3 kB / 0.5521 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.652, allocations: 0 / 0.5521 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.652, allocations: 1.094 kB / 0.5521 GB, free: 1.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.652, allocations: 1.156 kB / 0.5521 GB, free: 1.211 MB / 446.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.0007823/0.6528, allocations: 361 kB / 0.5525 GB, free: 16.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6528, allocations: 10.78 kB / 0.5525 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.6542, allocations: 103.8 kB / 0.5526 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.6545, allocations: 168.2 kB / 0.5528 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6545, allocations: 3.062 kB / 0.5528 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.6546, allocations: 5.812 kB / 0.5528 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.6548, allocations: 92.73 kB / 0.5528 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6548, allocations: 0 / 0.5528 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.6548, allocations: 4.625 kB / 0.5529 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6548, allocations: 3.25 kB / 0.5529 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.655, allocations: 43.69 kB / 0.5529 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.6552, allocations: 153.7 kB / 0.553 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.6557, allocations: 127.4 kB / 0.5532 GB, free: 16.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.6558, allocations: 36.89 kB / 0.5532 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.6561, allocations: 96.08 kB / 0.5533 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6561, allocations: 33.09 kB / 0.5533 GB, free: 16.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.6561, allocations: 0 / 0.5533 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005174/0.6566, allocations: 133.8 kB / 0.5535 GB, free: 16.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.6567, allocations: 86 kB / 0.5535 GB, free: 16.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.6569, allocations: 152.1 kB / 0.5537 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.6569, allocations: 28.7 kB / 0.5537 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.657, allocations: 85.88 kB / 0.5538 GB, free: 16.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.6571, allocations: 17.98 kB / 0.5538 GB, free: 16.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.6571, allocations: 35.2 kB / 0.5538 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6573, allocations: 313.1 kB / 0.5541 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6574, allocations: 30.53 kB / 0.5542 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.6575, allocations: 48.47 kB / 0.5542 GB, free: 15.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.6577, allocations: 87.94 kB / 0.5543 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6577, allocations: 3.938 kB / 0.5543 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000419/0.6581, allocations: 128 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6581, allocations: 5.188 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6581, allocations: 3.094 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.6582, allocations: 5 kB / 0.5544 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.6583, allocations: 33.48 kB / 0.5545 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6583, allocations: 0 / 0.5545 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.6585, allocations: 10.38 kB / 0.5545 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.6586, allocations: 8.781 kB / 0.5545 GB, free: 15.68 MB / 462.1 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 0.0001012/0.6587, allocations: 119.3 kB / 0.5546 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.6587, allocations: 7.578 kB / 0.5546 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.6593, allocations: 250.1 kB / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.6593, allocations: 4.047 kB / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6593, allocations: 0 / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6593, allocations: 7.094 kB / 0.5549 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.6595, allocations: 157.6 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6595, allocations: 0.8125 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.6597, allocations: 22.88 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6597, allocations: 5.031 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.6597, allocations: 9.766 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6597, allocations: 0 / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6597, allocations: 4.125 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.6601, allocations: 174.8 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.6602, allocations: 22.69 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6602, allocations: 1.031 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6604, allocations: 8.922 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.6605, allocations: 10.81 kB / 0.5553 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6605, allocations: 3.594 kB / 0.5553 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.6606, allocations: 128.9 kB / 0.5554 GB, free: 15.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6606, allocations: 0.9688 kB / 0.5554 GB, free: 15.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.6611, allocations: 131.9 kB / 0.5555 GB, free: 15.2 MB / 462.1 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.0005921/0.6617, allocations: 312.1 kB / 0.5558 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.662, allocations: 77.78 kB / 0.5559 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.662, allocations: 0 / 0.5559 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.6621, allocations: 36.83 kB / 0.5559 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.6623, allocations: 19.91 kB / 0.5559 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.6629, allocations: 307.8 kB / 0.5562 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.663, allocations: 70.78 kB / 0.5563 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004225/0.6634, allocations: 432 kB / 0.5567 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.6635, allocations: 46.44 kB / 0.5567 GB, free: 14.79 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.6635, allocations: 0 / 0.5567 GB, free: 14.79 MB / 462.1 MB Notification: Performance of Templates: time 0.008302/0.6718, allocations: 5.53 MB / 0.5622 GB, free: 14.09 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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: 4.862104796338826]