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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 50.53 MB / 409.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00212/0.2105, allocations: 1.375 MB / 411.3 MB, free: 268 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.346/0.5566, allocations: 151.6 MB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.5566, allocations: 1.031 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.5567, allocations: 7.672 kB / 0.5497 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007767/0.5575, allocations: 233.8 kB / 0.5499 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008662/0.5584, allocations: 403.8 kB / 0.5503 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.5585, allocations: 54.12 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.5585, allocations: 4.297 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.5585, allocations: 27.47 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.5586, allocations: 29.56 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.5586, allocations: 4.672 kB / 0.5504 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/0.5596, allocations: 0.6761 MB / 0.5511 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.5596, allocations: 2.234 kB / 0.5511 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.5597, allocations: 28.14 kB / 0.5511 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.5603, allocations: 0.4902 MB / 0.5516 GB, free: 1.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5603, allocations: 0.875 kB / 0.5516 GB, free: 1.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.5603, allocations: 1.094 kB / 0.5516 GB, free: 1.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.5603, allocations: 0 / 0.5516 GB, free: 1.402 MB / 462.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.0005333/0.5609, allocations: 431.6 kB / 0.552 GB, free: 17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.5609, allocations: 11.17 kB / 0.552 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.5623, allocations: 109.2 kB / 0.5521 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.5625, allocations: 219.3 kB / 0.5523 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.5625, allocations: 2.25 kB / 0.5523 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5626, allocations: 7.5 kB / 0.5523 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.5628, allocations: 92.84 kB / 0.5524 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.5628, allocations: 0 / 0.5524 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5628, allocations: 0.9688 kB / 0.5524 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5628, allocations: 2.953 kB / 0.5524 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.563, allocations: 44.86 kB / 0.5525 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.5632, allocations: 212 kB / 0.5527 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.5636, allocations: 120.7 kB / 0.5528 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.5638, allocations: 45.56 kB / 0.5528 GB, free: 16.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.5644, allocations: 0.9902 MB / 0.5538 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5644, allocations: 33.81 kB / 0.5538 GB, free: 15.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.5644, allocations: 1.062 kB / 0.5538 GB, free: 15.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004691/0.5649, allocations: 135.6 kB / 0.554 GB, free: 15.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.5649, allocations: 77.11 kB / 0.554 GB, free: 15.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.5651, allocations: 161.2 kB / 0.5542 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5652, allocations: 25.7 kB / 0.5542 GB, free: 15.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.5652, allocations: 87.61 kB / 0.5543 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.5652, allocations: 16.94 kB / 0.5543 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.5653, allocations: 39.61 kB / 0.5544 GB, free: 14.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.5654, allocations: 318 kB / 0.5547 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5655, allocations: 22.83 kB / 0.5547 GB, free: 14.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.5656, allocations: 54.34 kB / 0.5547 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.5658, allocations: 89.72 kB / 0.5548 GB, free: 14.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5658, allocations: 0.8438 kB / 0.5548 GB, free: 14.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003226/0.5662, allocations: 119 kB / 0.5549 GB, free: 14.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5662, allocations: 4.328 kB / 0.5549 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5662, allocations: 6.25 kB / 0.5549 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.5662, allocations: 0 / 0.5549 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.5664, allocations: 26.14 kB / 0.555 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5664, allocations: 3.031 kB / 0.555 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.5666, allocations: 6.953 kB / 0.555 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.5666, allocations: 7.906 kB / 0.555 GB, free: 14.53 MB / 478.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 8.541e-05/0.5667, allocations: 124 kB / 0.5551 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.5668, allocations: 10.95 kB / 0.5551 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.5673, allocations: 237.7 kB / 0.5553 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5673, allocations: 4.562 kB / 0.5553 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5673, allocations: 2.141 kB / 0.5554 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.5674, allocations: 90.77 kB / 0.5554 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.5674, allocations: 0 / 0.5554 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.5677, allocations: 16.06 kB / 0.5555 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.5677, allocations: 10.47 kB / 0.5555 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005329/0.5682, allocations: 285.7 kB / 0.5557 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004584/0.5687, allocations: 403.1 kB / 0.5561 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001007/0.5688, allocations: 33.84 kB / 0.5562 GB, free: 13.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.569, allocations: 132.5 kB / 0.5563 GB, free: 13.72 MB / 478.1 MB Notification: Performance of Backend: time 3.91e-07/0.569, allocations: 1.094 kB / 0.5563 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.5701, allocations: 359.7 kB / 0.5566 GB, free: 13.62 MB / 478.1 MB Notification: Performance of SimCode: time 0.0006825/0.5708, allocations: 0.7625 MB / 0.5574 GB, free: 12.98 MB / 478.1 MB Notification: Performance of Templates: time 0.00736/0.5782, allocations: 5.489 MB / 0.5627 GB, free: 12.55 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches