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.001345/0.001345, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.88 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2403, allocations: 50.53 MB / 409.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002165/0.2425, allocations: 1.371 MB / 411.3 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4039/0.6465, allocations: 151.6 MB / 0.5497 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.6466, allocations: 0.9062 kB / 0.5497 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.6467, allocations: 5.344 kB / 0.5497 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.6475, allocations: 243.1 kB / 0.5499 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009616/0.6485, allocations: 397 kB / 0.5503 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.706e-05/0.6486, allocations: 56.2 kB / 0.5504 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.6486, allocations: 4.203 kB / 0.5504 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.6487, allocations: 22.92 kB / 0.5504 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.6488, allocations: 32.69 kB / 0.5504 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.6488, allocations: 1.219 kB / 0.5504 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.6498, allocations: 0.6746 MB / 0.5511 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.6499, allocations: 10.97 kB / 0.5511 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.6499, allocations: 21.12 kB / 0.5511 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.6506, allocations: 0.4908 MB / 0.5516 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6506, allocations: 0.9688 kB / 0.5516 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6506, allocations: 0 / 0.5516 GB, free: 1.418 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.6506, allocations: 0 / 0.5516 GB, free: 1.418 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.0006386/0.6512, allocations: 432.2 kB / 0.552 GB, free: 17.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6513, allocations: 9.562 kB / 0.552 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.6526, allocations: 108.5 kB / 0.5521 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.6529, allocations: 224.8 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.6529, allocations: 1.938 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.653, allocations: 4.344 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.6532, allocations: 95.56 kB / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6532, allocations: 0 / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.6532, allocations: 0.9062 kB / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6532, allocations: 0 / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.6534, allocations: 49.41 kB / 0.5525 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.6536, allocations: 204.8 kB / 0.5527 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.6541, allocations: 126.7 kB / 0.5528 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.6542, allocations: 39.16 kB / 0.5528 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.6549, allocations: 0.9886 MB / 0.5538 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.6549, allocations: 45.86 kB / 0.5538 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.6549, allocations: 1.031 kB / 0.5538 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004687/0.6554, allocations: 130.6 kB / 0.554 GB, free: 15.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.6555, allocations: 78.02 kB / 0.554 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.6557, allocations: 163 kB / 0.5542 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.6557, allocations: 25.7 kB / 0.5542 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.6557, allocations: 85.34 kB / 0.5543 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.6558, allocations: 20.69 kB / 0.5543 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.6558, allocations: 37.44 kB / 0.5543 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.656, allocations: 316.6 kB / 0.5546 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.6561, allocations: 27.77 kB / 0.5547 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.6562, allocations: 53.58 kB / 0.5547 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.6564, allocations: 89.91 kB / 0.5548 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6564, allocations: 0 / 0.5548 GB, free: 14.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003074/0.6567, allocations: 115.9 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6567, allocations: 6.125 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6568, allocations: 2.75 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6568, allocations: 0.9375 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.6569, allocations: 30.75 kB / 0.555 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6569, allocations: 0 / 0.555 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.6571, allocations: 10.08 kB / 0.555 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6572, allocations: 9.797 kB / 0.555 GB, free: 14.55 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.205e-05/0.6572, allocations: 122 kB / 0.5551 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.6573, allocations: 10.28 kB / 0.5551 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.6579, allocations: 240.5 kB / 0.5553 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6579, allocations: 0 / 0.5553 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6579, allocations: 3.938 kB / 0.5553 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6579, allocations: 0 / 0.5553 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.6581, allocations: 219.9 kB / 0.5555 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6581, allocations: 0.5156 kB / 0.5555 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.6583, allocations: 29.22 kB / 0.5556 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6583, allocations: 64 / 0.5556 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.6583, allocations: 7.422 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6583, allocations: 0.9375 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6583, allocations: 3.594 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.6587, allocations: 175.3 kB / 0.5558 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.6588, allocations: 96.58 kB / 0.5558 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.6588, allocations: 6.906 kB / 0.5559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.659, allocations: 8.734 kB / 0.5559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.6591, allocations: 6.5 kB / 0.5559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.6591, allocations: 4.344 kB / 0.5559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.6593, allocations: 134.1 kB / 0.556 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6593, allocations: 1 kB / 0.556 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.6598, allocations: 131 kB / 0.5561 GB, free: 13.89 MB / 478.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.0006812/0.6605, allocations: 319.3 kB / 0.5564 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.6608, allocations: 80.94 kB / 0.5565 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6608, allocations: 0.75 kB / 0.5565 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.6609, allocations: 44.33 kB / 0.5566 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.6611, allocations: 11.09 kB / 0.5566 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.6617, allocations: 329.6 kB / 0.5569 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.662, allocations: 0.6891 MB / 0.5575 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6621, allocations: 47.78 kB / 0.5576 GB, free: 12.88 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6621, allocations: 0 / 0.5576 GB, free: 12.88 MB / 478.1 MB Notification: Performance of Templates: time 0.005669/0.6678, allocations: 4.188 MB / 0.5617 GB, free: 12.47 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