Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 106.5 kB / 20.32 MB, free: 1.887 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 191.1 kB / 23.47 MB, free: 5.363 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 51.92 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2685, allocations: 49.12 MB / 394.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00234/0.2709, allocations: 1.356 MB / 396.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1844/0.4553, allocations: 150.8 MB / 0.5343 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.4554, allocations: 0 / 0.5343 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.4554, allocations: 11.92 kB / 0.5343 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.4565, allocations: 242.8 kB / 0.5345 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.4583, allocations: 0.6359 MB / 0.5351 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.4584, allocations: 47.73 kB / 0.5352 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.4584, allocations: 8 kB / 0.5352 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.4585, allocations: 27.91 kB / 0.5352 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.4586, allocations: 27.91 kB / 0.5352 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.4586, allocations: 4 kB / 0.5352 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.4602, allocations: 0.9042 MB / 0.5361 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.4602, allocations: 19.91 kB / 0.5361 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.4603, allocations: 15.94 kB / 0.5361 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.4613, allocations: 0.6078 MB / 0.5367 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4613, allocations: 0 / 0.5367 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4613, allocations: 4 kB / 0.5367 GB, free: 8.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.4613, allocations: 0 / 0.5367 GB, free: 8.691 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.0006398/0.4619, allocations: 458.3 kB / 0.5372 GB, free: 8.195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.462, allocations: 12.03 kB / 0.5372 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.4631, allocations: 92.75 kB / 0.5373 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.4634, allocations: 224.3 kB / 0.5375 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4634, allocations: 7.922 kB / 0.5375 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.4634, allocations: 3.984 kB / 0.5375 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.4636, allocations: 91.33 kB / 0.5376 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4637, allocations: 0 / 0.5376 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4637, allocations: 3.938 kB / 0.5376 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4637, allocations: 4 kB / 0.5376 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.4638, allocations: 39.95 kB / 0.5376 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.4641, allocations: 218.8 kB / 0.5379 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.4646, allocations: 117.1 kB / 0.538 GB, free: 7.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4647, allocations: 41.75 kB / 0.538 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007574/0.4655, allocations: 0.9901 MB / 0.539 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4655, allocations: 34.56 kB / 0.539 GB, free: 5.977 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4655, allocations: 0 / 0.539 GB, free: 5.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005152/0.466, allocations: 129.5 kB / 0.5391 GB, free: 5.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4661, allocations: 81.11 kB / 0.5392 GB, free: 5.746 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.4663, allocations: 165.7 kB / 0.5394 GB, free: 5.574 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4663, allocations: 25.7 kB / 0.5394 GB, free: 5.543 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.4664, allocations: 84.14 kB / 0.5395 GB, free: 5.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.4664, allocations: 27.75 kB / 0.5395 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.4665, allocations: 33.67 kB / 0.5395 GB, free: 5.391 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4666, allocations: 318.8 kB / 0.5398 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4667, allocations: 31.92 kB / 0.5399 GB, free: 5.039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4669, allocations: 51.41 kB / 0.5399 GB, free: 4.977 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.4671, allocations: 91.27 kB / 0.54 GB, free: 4.875 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4671, allocations: 0 / 0.54 GB, free: 4.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003567/0.4675, allocations: 117.9 kB / 0.5401 GB, free: 4.754 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4675, allocations: 4 kB / 0.5401 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.4675, allocations: 4.094 kB / 0.5401 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4675, allocations: 3.984 kB / 0.5401 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.4676, allocations: 27.91 kB / 0.5401 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4677, allocations: 3.938 kB / 0.5401 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.4678, allocations: 15.94 kB / 0.5402 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4679, allocations: 7.984 kB / 0.5402 GB, free: 4.688 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 0.0001021/0.468, allocations: 125.8 kB / 0.5403 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.468, allocations: 0 / 0.5403 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.4686, allocations: 233.2 kB / 0.5405 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4686, allocations: 4 kB / 0.5405 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4686, allocations: 4 kB / 0.5405 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4686, allocations: 3.984 kB / 0.5405 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.4689, allocations: 214.9 kB / 0.5407 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4689, allocations: 0 / 0.5407 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4691, allocations: 27.91 kB / 0.5408 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4691, allocations: 4 kB / 0.5408 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4691, allocations: 3.984 kB / 0.5408 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4691, allocations: 0 / 0.5408 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4691, allocations: 0 / 0.5408 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.4695, allocations: 185.8 kB / 0.5409 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.4696, allocations: 89.12 kB / 0.541 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.4697, allocations: 0 / 0.541 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.4699, allocations: 8.047 kB / 0.541 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4699, allocations: 8 kB / 0.541 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4699, allocations: 7.984 kB / 0.541 GB, free: 3.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.4701, allocations: 139.2 kB / 0.5412 GB, free: 3.547 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4701, allocations: 0 / 0.5412 GB, free: 3.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005741/0.4707, allocations: 167.5 kB / 0.5413 GB, free: 3.383 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 (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.0008497/0.4715, allocations: 394.3 kB / 0.5417 GB, free: 2.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.4718, allocations: 75.88 kB / 0.5418 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4718, allocations: 0 / 0.5418 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.472, allocations: 39.91 kB / 0.5418 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4722, allocations: 11.94 kB / 0.5418 GB, free: 2.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.4728, allocations: 344.2 kB / 0.5422 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4731, allocations: 0.6885 MB / 0.5428 GB, free: 1.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.4733, allocations: 47.38 kB / 0.5429 GB, free: 1.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4733, allocations: 0 / 0.5429 GB, free: 1.73 MB / 462.1 MB Notification: Performance of Templates: time 0.007904/0.4812, allocations: 4.689 MB / 0.5475 GB, free: 13.04 MB / 478.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches