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.00161/0.00161, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001803/0.001803, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001672/0.001672, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2647, allocations: 53.35 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002582/0.2673, allocations: 1.357 MB / 433.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.411/0.6782, allocations: 130.6 MB / 0.5511 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.6783, allocations: 0 / 0.5511 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.6783, allocations: 5.766 kB / 0.5511 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009252/0.6792, allocations: 245.6 kB / 0.5513 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.6802, allocations: 403.8 kB / 0.5517 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.6803, allocations: 62.69 kB / 0.5517 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.6803, allocations: 5.422 kB / 0.5517 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.6804, allocations: 22.7 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.6805, allocations: 26.94 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.6805, allocations: 1.375 kB / 0.5518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009214/0.6814, allocations: 0.5717 MB / 0.5524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.6814, allocations: 11.03 kB / 0.5524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.6814, allocations: 17.31 kB / 0.5524 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.682, allocations: 482.7 kB / 0.5528 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.682, allocations: 0 / 0.5528 GB, free: 1.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.682, allocations: 0 / 0.5528 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.682, allocations: 0.8438 kB / 0.5528 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.0005894/0.6826, allocations: 365.8 kB / 0.5532 GB, free: 16.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.6827, allocations: 9.219 kB / 0.5532 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.6839, allocations: 103.3 kB / 0.5533 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.6841, allocations: 169.7 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6841, allocations: 0 / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.6842, allocations: 6.312 kB / 0.5535 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.6844, allocations: 90.94 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.6844, allocations: 2.594 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.6844, allocations: 0.9062 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6844, allocations: 0 / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.6845, allocations: 47.98 kB / 0.5536 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.6848, allocations: 154.5 kB / 0.5538 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.6852, allocations: 124.9 kB / 0.5539 GB, free: 16.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.6853, allocations: 37.11 kB / 0.5539 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.6855, allocations: 95.84 kB / 0.554 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6855, allocations: 41.19 kB / 0.554 GB, free: 16.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.6855, allocations: 1 kB / 0.554 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004487/0.686, allocations: 134.8 kB / 0.5542 GB, free: 16.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.686, allocations: 79.58 kB / 0.5542 GB, free: 16.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6862, allocations: 155.6 kB / 0.5544 GB, free: 16.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.6863, allocations: 28.55 kB / 0.5544 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.6863, allocations: 83.7 kB / 0.5545 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.6863, allocations: 22.09 kB / 0.5545 GB, free: 16.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.6864, allocations: 30.48 kB / 0.5545 GB, free: 16.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6865, allocations: 316 kB / 0.5548 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.6866, allocations: 35.81 kB / 0.5549 GB, free: 15.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.6867, allocations: 53.36 kB / 0.5549 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.6869, allocations: 83.09 kB / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6869, allocations: 4.906 kB / 0.555 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003051/0.6872, allocations: 121.1 kB / 0.5551 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6872, allocations: 5.469 kB / 0.5551 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6872, allocations: 4.438 kB / 0.5551 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.6873, allocations: 0 / 0.5551 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.6874, allocations: 30.38 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6874, allocations: 3.562 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.6876, allocations: 6.469 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.6876, allocations: 16.81 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.954e-05/0.6877, allocations: 117.2 kB / 0.5553 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.6877, allocations: 7.359 kB / 0.5553 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.6883, allocations: 252.3 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6883, allocations: 4.438 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6883, allocations: 0.8438 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6883, allocations: 2.578 kB / 0.5556 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.6884, allocations: 159.9 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6884, allocations: 0 / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.6886, allocations: 25.59 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6886, allocations: 4.906 kB / 0.5557 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.6886, allocations: 7.938 kB / 0.5558 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6886, allocations: 3.781 kB / 0.5558 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6886, allocations: 1.094 kB / 0.5558 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.689, allocations: 173 kB / 0.5559 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.689, allocations: 25.27 kB / 0.5559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.6891, allocations: 5.188 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.6892, allocations: 3.938 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.6893, allocations: 14.19 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.6893, allocations: 2.109 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.6894, allocations: 131.6 kB / 0.5561 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6894, allocations: 0.9062 kB / 0.5561 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.6899, allocations: 131.3 kB / 0.5562 GB, free: 15.19 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.00056/0.6905, allocations: 310.9 kB / 0.5565 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6907, allocations: 76.73 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6907, allocations: 4.938 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.6909, allocations: 35.69 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.6911, allocations: 16.45 kB / 0.5566 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.6916, allocations: 335.9 kB / 0.557 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.6917, allocations: 71.39 kB / 0.557 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6918, allocations: 46.44 kB / 0.5571 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6918, allocations: 0 / 0.5571 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.005789/0.6976, allocations: 4.207 MB / 0.5612 GB, free: 14.23 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: 7.900955216959119]