Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 109.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.91 kB / 370.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.225, allocations: 52.17 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002433/0.2274, allocations: 1.386 MB / 424.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3743/0.6018, allocations: 149.5 MB / 0.5606 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.6018, allocations: 0 / 0.5606 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.6019, allocations: 6.422 kB / 0.5606 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.6029, allocations: 392.1 kB / 0.561 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.604, allocations: 0.5146 MB / 0.5615 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.6041, allocations: 75.61 kB / 0.5615 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.6041, allocations: 1.875 kB / 0.5615 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.6042, allocations: 42.12 kB / 0.5616 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.6042, allocations: 32.7 kB / 0.5616 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.6042, allocations: 0 / 0.5616 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.6058, allocations: 1.143 MB / 0.5627 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.6059, allocations: 18.59 kB / 0.5627 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.6059, allocations: 28.2 kB / 0.5628 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009326/0.6069, allocations: 0.6934 MB / 0.5634 GB, free: 13.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6069, allocations: 2.688 kB / 0.5634 GB, free: 13.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6069, allocations: 0 / 0.5634 GB, free: 13.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.6069, allocations: 0 / 0.5634 GB, free: 13.34 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.0006212/0.6075, allocations: 388.4 kB / 0.5638 GB, free: 13.01 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.6075, allocations: 10.53 kB / 0.5638 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.608, allocations: 66.86 kB / 0.5639 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.6081, allocations: 149.4 kB / 0.564 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.6081, allocations: 11.16 kB / 0.564 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.6082, allocations: 3.438 kB / 0.564 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.6083, allocations: 70.55 kB / 0.5641 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.6083, allocations: 0 / 0.5641 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.6083, allocations: 1.203 kB / 0.5641 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6083, allocations: 0 / 0.5641 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.968e-05/0.6084, allocations: 47.3 kB / 0.5642 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.6087, allocations: 171.9 kB / 0.5643 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.6089, allocations: 107.6 kB / 0.5644 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.609, allocations: 41.5 kB / 0.5645 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004865/0.6095, allocations: 60.53 kB / 0.5645 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6095, allocations: 33.34 kB / 0.5646 GB, free: 12.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.6095, allocations: 4 kB / 0.5646 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003458/0.6099, allocations: 120 kB / 0.5647 GB, free: 12.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.6099, allocations: 80.02 kB / 0.5647 GB, free: 12.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.6101, allocations: 140.9 kB / 0.5649 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.6101, allocations: 25.7 kB / 0.5649 GB, free: 12.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.6101, allocations: 88.39 kB / 0.565 GB, free: 12.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.6102, allocations: 17.8 kB / 0.565 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.6102, allocations: 27.52 kB / 0.565 GB, free: 12.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6103, allocations: 315.8 kB / 0.5653 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.6104, allocations: 26.64 kB / 0.5654 GB, free: 11.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.6105, allocations: 49.02 kB / 0.5654 GB, free: 11.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.6106, allocations: 88.3 kB / 0.5655 GB, free: 11.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6106, allocations: 3.938 kB / 0.5655 GB, free: 11.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002462/0.6109, allocations: 113.3 kB / 0.5656 GB, free: 11.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6109, allocations: 5.469 kB / 0.5656 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6109, allocations: 0 / 0.5656 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6109, allocations: 2.562 kB / 0.5656 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.611, allocations: 13.58 kB / 0.5656 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.611, allocations: 2.406 kB / 0.5656 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.611, allocations: 13.42 kB / 0.5656 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.6111, allocations: 5.625 kB / 0.5656 GB, free: 11.7 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 8.652e-05/0.6111, allocations: 123.7 kB / 0.5658 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.6112, allocations: 9.328 kB / 0.5658 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.6114, allocations: 111.3 kB / 0.5659 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6114, allocations: 0 / 0.5659 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6114, allocations: 2.25 kB / 0.5659 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6114, allocations: 6.531 kB / 0.5659 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.6116, allocations: 162.4 kB / 0.566 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6116, allocations: 2.719 kB / 0.566 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.28e-05/0.6117, allocations: 16.78 kB / 0.5661 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6117, allocations: 0 / 0.5661 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6117, allocations: 0 / 0.5661 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6117, allocations: 3.219 kB / 0.5661 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6117, allocations: 0 / 0.5661 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.612, allocations: 168.7 kB / 0.5662 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.612, allocations: 8.531 kB / 0.5662 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.6121, allocations: 7.609 kB / 0.5662 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.6121, allocations: 6.781 kB / 0.5662 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.6121, allocations: 2.531 kB / 0.5662 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.6121, allocations: 2.75 kB / 0.5663 GB, free: 11.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.69e-05/0.6122, allocations: 115.9 kB / 0.5664 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6122, allocations: 0 / 0.5664 GB, free: 11.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.6127, allocations: 169.6 kB / 0.5665 GB, free: 11.16 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0009441/0.6137, allocations: 424.6 kB / 0.5669 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.6139, allocations: 64.59 kB / 0.567 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6139, allocations: 0 / 0.567 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.6139, allocations: 29.61 kB / 0.567 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.6142, allocations: 35.44 kB / 0.5671 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.6147, allocations: 296.7 kB / 0.5673 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.615, allocations: 0.6919 MB / 0.568 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.615, allocations: 18.25 kB / 0.568 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.6151, allocations: 15.47 kB / 0.568 GB, free: 10.06 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6151, allocations: 0 / 0.568 GB, free: 10.06 MB / 462.1 MB Notification: Performance of Templates: time 0.008309/0.6234, allocations: 4.77 MB / 0.5727 GB, free: 9.176 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.917132598347962]