Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001326/0.001326, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001449/0.001449, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2164, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002355/0.2188, allocations: 1.354 MB / 433.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.351/0.5698, allocations: 130.6 MB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.5698, allocations: 7.375 kB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.5698, allocations: 2.719 kB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007426/0.5706, allocations: 246.9 kB / 0.5513 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.5714, allocations: 403.4 kB / 0.5517 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.5715, allocations: 61.61 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.5715, allocations: 3.188 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.5715, allocations: 23.52 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.5716, allocations: 31 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5716, allocations: 2.688 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008153/0.5724, allocations: 0.5832 MB / 0.5524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.5724, allocations: 11.61 kB / 0.5524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.5725, allocations: 21.17 kB / 0.5524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.573, allocations: 480.5 kB / 0.5529 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.573, allocations: 0.9062 kB / 0.5529 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.573, allocations: 0 / 0.5529 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.573, allocations: 0 / 0.5529 GB, free: 1.207 MB / 446.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.0005347/0.5736, allocations: 361.7 kB / 0.5532 GB, free: 16.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5736, allocations: 8.906 kB / 0.5532 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.5751, allocations: 105.3 kB / 0.5533 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.5753, allocations: 170.2 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5753, allocations: 3.344 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5754, allocations: 2.031 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.5756, allocations: 91.33 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5756, allocations: 0.9062 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.5756, allocations: 2.656 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5756, allocations: 7.5 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.5758, allocations: 47.86 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.576, allocations: 145.3 kB / 0.5538 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.5764, allocations: 129.9 kB / 0.5539 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.5765, allocations: 36.77 kB / 0.5539 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.5767, allocations: 96.58 kB / 0.554 GB, free: 16.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.5767, allocations: 30.56 kB / 0.5541 GB, free: 16.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5767, allocations: 1.062 kB / 0.5541 GB, free: 16.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004794/0.5772, allocations: 140.2 kB / 0.5542 GB, free: 16.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5773, allocations: 83.77 kB / 0.5543 GB, free: 16.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.5775, allocations: 152.5 kB / 0.5544 GB, free: 16.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5775, allocations: 28.83 kB / 0.5545 GB, free: 16.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.5775, allocations: 83.64 kB / 0.5545 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.5776, allocations: 22.23 kB / 0.5546 GB, free: 16.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.5776, allocations: 32.83 kB / 0.5546 GB, free: 16.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5777, allocations: 314.5 kB / 0.5549 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.5779, allocations: 31.53 kB / 0.5549 GB, free: 15.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.578, allocations: 49.36 kB / 0.555 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.5782, allocations: 86.42 kB / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5782, allocations: 0 / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003362/0.5785, allocations: 128.6 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5785, allocations: 6.031 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5785, allocations: 0.7812 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5785, allocations: 3.688 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5787, allocations: 29.97 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5787, allocations: 2 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.5789, allocations: 8.844 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5789, allocations: 7.562 kB / 0.5552 GB, free: 15.68 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 9.417e-05/0.579, allocations: 122.3 kB / 0.5553 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.5791, allocations: 5.922 kB / 0.5553 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.5796, allocations: 251.3 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5796, allocations: 0.9062 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5796, allocations: 0 / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.5796, allocations: 17.84 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.5797, allocations: 0.6875 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.5799, allocations: 16.22 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.58, allocations: 12.67 kB / 0.5556 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005417/0.5805, allocations: 289.5 kB / 0.5559 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004871/0.581, allocations: 394.8 kB / 0.5563 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001001/0.5811, allocations: 36.84 kB / 0.5563 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.5812, allocations: 129 kB / 0.5564 GB, free: 14.96 MB / 462.1 MB Notification: Performance of Backend: time 1.8e-07/0.5812, allocations: 0.7812 kB / 0.5564 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.5823, allocations: 356.2 kB / 0.5568 GB, free: 14.86 MB / 462.1 MB Notification: Performance of SimCode: time 0.000749/0.583, allocations: 0.7619 MB / 0.5575 GB, free: 14.21 MB / 462.1 MB Notification: Performance of Templates: time 0.008143/0.5912, allocations: 5.826 MB / 0.5632 GB, free: 13.48 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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 [Calling sys.exit(0), Time elapsed: 4.749098698994203]