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.00156/0.00156, allocations: 113.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3743, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003216/0.3776, allocations: 1.367 MB / 411.3 MB, free: 228 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.5859/0.9635, allocations: 151.6 MB / 0.5497 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.9636, allocations: 0.6562 kB / 0.5497 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.9637, allocations: 5.984 kB / 0.5497 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.9649, allocations: 240.3 kB / 0.5499 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.9664, allocations: 395.8 kB / 0.5503 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.9665, allocations: 62.14 kB / 0.5504 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.9666, allocations: 3.812 kB / 0.5504 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.9667, allocations: 26.39 kB / 0.5504 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.9668, allocations: 27.92 kB / 0.5504 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.9668, allocations: 3.5 kB / 0.5504 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.9684, allocations: 0.6692 MB / 0.5511 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.9685, allocations: 11.81 kB / 0.5511 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.9685, allocations: 25.72 kB / 0.5511 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.9697, allocations: 0.4892 MB / 0.5516 GB, free: 1.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9697, allocations: 0 / 0.5516 GB, free: 1.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9698, allocations: 1.031 kB / 0.5516 GB, free: 1.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.9698, allocations: 3.188 kB / 0.5516 GB, free: 1.414 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.0008797/0.9707, allocations: 433.6 kB / 0.552 GB, free: 17.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9707, allocations: 8.312 kB / 0.552 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.9726, allocations: 107.9 kB / 0.5521 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.973, allocations: 220 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.973, allocations: 9.688 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.9731, allocations: 5.75 kB / 0.5523 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.9734, allocations: 91.12 kB / 0.5524 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9734, allocations: 0 / 0.5524 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.9734, allocations: 4.531 kB / 0.5524 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.9734, allocations: 0 / 0.5524 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.9737, allocations: 46.55 kB / 0.5525 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.974, allocations: 208.2 kB / 0.5527 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.9745, allocations: 125.7 kB / 0.5528 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.9747, allocations: 44.22 kB / 0.5528 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/0.9756, allocations: 0.9804 MB / 0.5538 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9756, allocations: 37.81 kB / 0.5538 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.9756, allocations: 1.031 kB / 0.5538 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000594/0.9762, allocations: 136.5 kB / 0.5539 GB, free: 15.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.9763, allocations: 81.23 kB / 0.554 GB, free: 15.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.9766, allocations: 154.3 kB / 0.5542 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.9766, allocations: 30.36 kB / 0.5542 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.9767, allocations: 80.8 kB / 0.5543 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.9767, allocations: 22.47 kB / 0.5543 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.9768, allocations: 38.12 kB / 0.5543 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.977, allocations: 322.7 kB / 0.5546 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.9771, allocations: 24.66 kB / 0.5547 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.9772, allocations: 60.19 kB / 0.5547 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.9775, allocations: 84.38 kB / 0.5548 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9776, allocations: 0 / 0.5548 GB, free: 14.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004175/0.978, allocations: 118.7 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.978, allocations: 5.5 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.978, allocations: 3.219 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.978, allocations: 0 / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.9782, allocations: 37.16 kB / 0.555 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9782, allocations: 4.609 kB / 0.555 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.9785, allocations: 5.703 kB / 0.555 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.9785, allocations: 8.516 kB / 0.555 GB, free: 14.54 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 9.862e-05/0.9786, allocations: 121.6 kB / 0.5551 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.9787, allocations: 6.969 kB / 0.5551 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.9794, allocations: 242.4 kB / 0.5553 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.9794, allocations: 1.812 kB / 0.5553 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9795, allocations: 1.062 kB / 0.5553 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9795, allocations: 3.406 kB / 0.5553 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.9797, allocations: 215 kB / 0.5555 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9797, allocations: 7.438 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.9799, allocations: 23.94 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.98, allocations: 4.125 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.98, allocations: 0 / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.98, allocations: 7.281 kB / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.98, allocations: 0 / 0.5556 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.9806, allocations: 175.1 kB / 0.5558 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.9807, allocations: 95 kB / 0.5558 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.9807, allocations: 3.75 kB / 0.5558 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.981, allocations: 5.594 kB / 0.5559 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.981, allocations: 15.12 kB / 0.5559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.9811, allocations: 0 / 0.5559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.9813, allocations: 135 kB / 0.556 GB, free: 13.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9813, allocations: 0.9375 kB / 0.556 GB, free: 13.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.982, allocations: 131.9 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.0009529/0.983, allocations: 320 kB / 0.5564 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.9834, allocations: 87.22 kB / 0.5565 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9834, allocations: 0.875 kB / 0.5565 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.9836, allocations: 34.58 kB / 0.5565 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.0003171/0.9839, allocations: 16.62 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.0008306/0.9848, allocations: 339 kB / 0.5569 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.9851, allocations: 0.6903 MB / 0.5576 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.9853, allocations: 44.09 kB / 0.5576 GB, free: 12.86 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.9853, allocations: 3.812 kB / 0.5576 GB, free: 12.86 MB / 478.1 MB Notification: Performance of Templates: time 0.008692/0.994, allocations: 4.185 MB / 0.5617 GB, free: 12.46 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