Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001307/0.001307, allocations: 82.14 kB / 21.99 MB, free: 5.176 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.001396/0.001396, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 55.92 kB / 299.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2103, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002453/0.2128, allocations: 1.343 MB / 349.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3608/0.5736, allocations: 129.5 MB / 479.4 MB, free: 1.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.5737, allocations: 1.719 kB / 479.4 MB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.5737, allocations: 5.109 kB / 479.4 MB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.5748, allocations: 361.1 kB / 479.7 MB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5765, allocations: 0.8183 MB / 480.5 MB, free: 1.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5767, allocations: 76.78 kB / 480.6 MB, free: 1.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.5767, allocations: 9 kB / 480.6 MB, free: 1.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.5767, allocations: 32.89 kB / 480.7 MB, free: 1.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.5768, allocations: 36.61 kB / 480.7 MB, free: 1.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.5768, allocations: 3.844 kB / 480.7 MB, free: 1.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.5787, allocations: 1.175 MB / 481.9 MB, free: 1.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.5787, allocations: 22.16 kB / 481.9 MB, free: 1.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.5788, allocations: 20.53 kB / 481.9 MB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.5799, allocations: 0.8162 MB / 482.7 MB, free: 1.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5799, allocations: 4.531 kB / 482.7 MB, free: 1.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5799, allocations: 3 kB / 482.7 MB, free: 1.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.5799, allocations: 0.875 kB / 482.7 MB, free: 1.301 MB / 430.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.0006693/0.5805, allocations: 409 kB / 483.1 MB, free: 16.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5806, allocations: 17.19 kB / 483.2 MB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5809, allocations: 32.17 kB / 483.2 MB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.5811, allocations: 143.5 kB / 483.3 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5811, allocations: 0.5625 kB / 483.3 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.5811, allocations: 13.62 kB / 483.3 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.5812, allocations: 70.66 kB / 483.4 MB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5813, allocations: 0.9688 kB / 483.4 MB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.5813, allocations: 2.938 kB / 483.4 MB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5813, allocations: 4.875 kB / 483.4 MB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.5814, allocations: 41.23 kB / 483.5 MB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.5815, allocations: 144 kB / 483.6 MB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.5818, allocations: 115.3 kB / 483.7 MB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.547e-05/0.5819, allocations: 34.98 kB / 483.8 MB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004756/0.5823, allocations: 62.05 kB / 483.8 MB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5824, allocations: 37.12 kB / 483.9 MB, free: 16.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5824, allocations: 0 / 483.9 MB, free: 16.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003493/0.5827, allocations: 122.6 kB / 484 MB, free: 16.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.5828, allocations: 84.05 kB / 484.1 MB, free: 16.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.5829, allocations: 137.3 kB / 484.2 MB, free: 16.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.5829, allocations: 29.2 kB / 484.2 MB, free: 16.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.583, allocations: 85.48 kB / 484.3 MB, free: 16.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.583, allocations: 26.11 kB / 484.3 MB, free: 16.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.583, allocations: 26.22 kB / 484.3 MB, free: 16.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5832, allocations: 317.2 kB / 484.7 MB, free: 15.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.5832, allocations: 28.47 kB / 484.7 MB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.5833, allocations: 46.47 kB / 484.7 MB, free: 15.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.5834, allocations: 83.52 kB / 484.8 MB, free: 15.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5834, allocations: 5.688 kB / 484.8 MB, free: 15.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002273/0.5837, allocations: 112.8 kB / 484.9 MB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5837, allocations: 5.594 kB / 484.9 MB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5837, allocations: 1.031 kB / 484.9 MB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5837, allocations: 2.344 kB / 484.9 MB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.5838, allocations: 16.95 kB / 485 MB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5838, allocations: 8.688 kB / 485 MB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.5838, allocations: 7.141 kB / 485 MB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5838, allocations: 3.875 kB / 485 MB, free: 15.73 MB / 446.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.86e-05/0.5839, allocations: 115.4 kB / 485.1 MB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.584, allocations: 12.72 kB / 485.1 MB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.5842, allocations: 119.6 kB / 485.2 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5842, allocations: 0 / 485.2 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5842, allocations: 3.5 kB / 485.2 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5842, allocations: 2.656 kB / 485.2 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5843, allocations: 126.8 kB / 485.3 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5843, allocations: 0.9375 kB / 485.3 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.5844, allocations: 17.14 kB / 485.4 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5844, allocations: 3.938 kB / 485.4 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5844, allocations: 7.094 kB / 485.4 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5844, allocations: 2.906 kB / 485.4 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5844, allocations: 0.9062 kB / 485.4 MB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.5847, allocations: 159.3 kB / 485.5 MB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.5847, allocations: 19.31 kB / 485.6 MB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.5848, allocations: 6.516 kB / 485.6 MB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.5848, allocations: 3.688 kB / 485.6 MB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.5849, allocations: 6.312 kB / 485.6 MB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5849, allocations: 3.906 kB / 485.6 MB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.823e-05/0.5849, allocations: 113.8 kB / 485.7 MB, free: 15.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5849, allocations: 2.812 kB / 485.7 MB, free: 15.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005817/0.5855, allocations: 201 kB / 485.9 MB, free: 15.25 MB / 446.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.00111/0.5866, allocations: 0.5194 MB / 486.4 MB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.5868, allocations: 70.7 kB / 486.5 MB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5868, allocations: 0 / 486.5 MB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.5869, allocations: 28.83 kB / 486.5 MB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.5872, allocations: 34.39 kB / 486.5 MB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.5877, allocations: 315.9 kB / 486.8 MB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.159e-05/0.5878, allocations: 70.97 kB / 486.9 MB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.5879, allocations: 21.3 kB / 486.9 MB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.5879, allocations: 15 kB / 486.9 MB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5879, allocations: 0 / 486.9 MB, free: 14.83 MB / 446.1 MB Notification: Performance of Templates: time 0.01004/0.5979, allocations: 6.195 MB / 493.1 MB, free: 14.18 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.8833333109505475]