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.001768/0.001768, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002138/0.002138, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001565/0.001565, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2107, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002382/0.213, allocations: 1.347 MB / 433.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3472/0.5602, allocations: 130.6 MB / 0.5511 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.5603, allocations: 3.969 kB / 0.5511 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.5603, allocations: 2.766 kB / 0.5511 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.561, allocations: 243.1 kB / 0.5513 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.5617, allocations: 404.8 kB / 0.5517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.5618, allocations: 56.42 kB / 0.5517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.5618, allocations: 5.484 kB / 0.5517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.5619, allocations: 24.17 kB / 0.5518 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.562, allocations: 32.89 kB / 0.5518 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.562, allocations: 2.75 kB / 0.5518 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.5627, allocations: 0.5871 MB / 0.5524 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.5628, allocations: 8.828 kB / 0.5524 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.5628, allocations: 22.34 kB / 0.5524 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.5633, allocations: 478.2 kB / 0.5529 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5633, allocations: 0 / 0.5529 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5633, allocations: 3.688 kB / 0.5529 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.5633, allocations: 1.031 kB / 0.5529 GB, free: 1.215 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.0005391/0.5639, allocations: 358.8 kB / 0.5532 GB, free: 16.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.5639, allocations: 9.219 kB / 0.5532 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.5653, allocations: 106.3 kB / 0.5533 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.5655, allocations: 170.5 kB / 0.5535 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.5655, allocations: 0 / 0.5535 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.5656, allocations: 6.516 kB / 0.5535 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.5658, allocations: 90.75 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5658, allocations: 2.297 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5658, allocations: 0 / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5658, allocations: 3.438 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.5659, allocations: 51.14 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.5661, allocations: 147.2 kB / 0.5538 GB, free: 16.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.5666, allocations: 128.1 kB / 0.5539 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.5667, allocations: 41.28 kB / 0.5539 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.5669, allocations: 95.31 kB / 0.554 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.5669, allocations: 34.25 kB / 0.5541 GB, free: 16.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5669, allocations: 3.188 kB / 0.5541 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004607/0.5674, allocations: 137.8 kB / 0.5542 GB, free: 16.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.5674, allocations: 78.05 kB / 0.5543 GB, free: 16.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.5676, allocations: 154.2 kB / 0.5544 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.5676, allocations: 26.67 kB / 0.5544 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.5677, allocations: 83.7 kB / 0.5545 GB, free: 16.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5677, allocations: 27.66 kB / 0.5545 GB, free: 16.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.5678, allocations: 28.64 kB / 0.5546 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5679, allocations: 319.6 kB / 0.5549 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.568, allocations: 24.3 kB / 0.5549 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.5681, allocations: 55.81 kB / 0.555 GB, free: 15.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.5683, allocations: 86.48 kB / 0.555 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5683, allocations: 5.031 kB / 0.555 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003269/0.5686, allocations: 116.1 kB / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5686, allocations: 8.375 kB / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5686, allocations: 0.9062 kB / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5687, allocations: 0 / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.5688, allocations: 33.17 kB / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5688, allocations: 0 / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.569, allocations: 16.38 kB / 0.5552 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.569, allocations: 5.016 kB / 0.5552 GB, free: 15.69 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 9.804e-05/0.5691, allocations: 117.7 kB / 0.5553 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.5692, allocations: 8.438 kB / 0.5553 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.5697, allocations: 253 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.5697, allocations: 2.75 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5697, allocations: 1 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5697, allocations: 7.531 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.5698, allocations: 157.5 kB / 0.5557 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5698, allocations: 4.875 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.57, allocations: 29.5 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.57, allocations: 1.031 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5701, allocations: 3.469 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5701, allocations: 0 / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5701, allocations: 6.188 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.5704, allocations: 175.2 kB / 0.5559 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.5705, allocations: 23.39 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.5705, allocations: 4.438 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.5707, allocations: 5.578 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.5708, allocations: 5.828 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5708, allocations: 6.406 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.571, allocations: 132 kB / 0.5561 GB, free: 15.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.571, allocations: 1.094 kB / 0.5561 GB, free: 15.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.5714, allocations: 134.4 kB / 0.5562 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.000513/0.5719, allocations: 309.2 kB / 0.5565 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.5721, allocations: 75.78 kB / 0.5566 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5721, allocations: 0 / 0.5566 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5723, allocations: 39.91 kB / 0.5566 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.0002143/0.5725, allocations: 16.2 kB / 0.5567 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.5729, allocations: 301.4 kB / 0.557 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.573, allocations: 78.11 kB / 0.557 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.5734, allocations: 433 kB / 0.5574 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5735, allocations: 42.41 kB / 0.5575 GB, free: 14.8 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5735, allocations: 0 / 0.5575 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Templates: time 0.007801/0.5813, allocations: 5.528 MB / 0.5629 GB, free: 14.11 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 -s gbode -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/jenkins1/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/jenkins1/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.841764122000313]