Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001459/0.001459, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.442/1.442, allocations: 225.7 MB / 253.3 MB, free: 12.81 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 47.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3652, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003931/0.3692, allocations: 1.342 MB / 425.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4981/0.8673, allocations: 127.8 MB / 0.54 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.8674, allocations: 1.938 kB / 0.54 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.8674, allocations: 4.781 kB / 0.54 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009811/0.8684, allocations: 235.3 kB / 0.5402 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.8695, allocations: 412.7 kB / 0.5406 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.8696, allocations: 54.94 kB / 0.5406 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.8697, allocations: 4.5 kB / 0.5406 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.8697, allocations: 22.34 kB / 0.5407 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.8698, allocations: 34.44 kB / 0.5407 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.8698, allocations: 1.375 kB / 0.5407 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.871, allocations: 0.5546 MB / 0.5412 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.871, allocations: 10.08 kB / 0.5412 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.871, allocations: 23.17 kB / 0.5413 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.8719, allocations: 478.4 kB / 0.5417 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8719, allocations: 0.75 kB / 0.5417 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.8719, allocations: 0 / 0.5417 GB, free: 1.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.8719, allocations: 2.156 kB / 0.5417 GB, free: 1.391 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.000673/0.8726, allocations: 357.3 kB / 0.5421 GB, free: 17.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.8726, allocations: 10.66 kB / 0.5421 GB, free: 17.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.8736, allocations: 98.11 kB / 0.5422 GB, free: 17.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.8739, allocations: 166.8 kB / 0.5423 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.8739, allocations: 2.188 kB / 0.5423 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.8739, allocations: 1.375 kB / 0.5423 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.8742, allocations: 92.72 kB / 0.5424 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8742, allocations: 5.312 kB / 0.5424 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.8742, allocations: 0.8125 kB / 0.5424 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8742, allocations: 1.375 kB / 0.5424 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.8743, allocations: 48.97 kB / 0.5425 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.8745, allocations: 137.5 kB / 0.5426 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.875, allocations: 131.3 kB / 0.5427 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.8751, allocations: 36.67 kB / 0.5428 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.8753, allocations: 96.58 kB / 0.5429 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.8754, allocations: 34.97 kB / 0.5429 GB, free: 16.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.8754, allocations: 0 / 0.5429 GB, free: 16.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004725/0.8758, allocations: 132.7 kB / 0.543 GB, free: 16.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.8759, allocations: 87.17 kB / 0.5431 GB, free: 16.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.8761, allocations: 149 kB / 0.5432 GB, free: 16.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.8761, allocations: 29.12 kB / 0.5433 GB, free: 16.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.8762, allocations: 89.11 kB / 0.5434 GB, free: 16.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.8762, allocations: 27.17 kB / 0.5434 GB, free: 16.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.8763, allocations: 32.22 kB / 0.5434 GB, free: 16.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8764, allocations: 315.2 kB / 0.5437 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.8765, allocations: 28.55 kB / 0.5437 GB, free: 15.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.8766, allocations: 56.58 kB / 0.5438 GB, free: 15.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.8768, allocations: 83.83 kB / 0.5439 GB, free: 15.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8768, allocations: 4.875 kB / 0.5439 GB, free: 15.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003063/0.8771, allocations: 120.2 kB / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8771, allocations: 6.125 kB / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8771, allocations: 0.9062 kB / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.8771, allocations: 3.266 kB / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.8773, allocations: 28.3 kB / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8773, allocations: 0 / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.8774, allocations: 12.67 kB / 0.544 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.8775, allocations: 7.375 kB / 0.544 GB, free: 15.87 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.272e-05/0.8775, allocations: 120.7 kB / 0.5442 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.8776, allocations: 2.531 kB / 0.5442 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.8781, allocations: 253.1 kB / 0.5444 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8781, allocations: 4.75 kB / 0.5444 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8781, allocations: 1.203 kB / 0.5444 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8781, allocations: 4.281 kB / 0.5444 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.8783, allocations: 158.8 kB / 0.5446 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8783, allocations: 0 / 0.5446 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.8784, allocations: 26.58 kB / 0.5446 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8784, allocations: 0.8125 kB / 0.5446 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.8785, allocations: 9.875 kB / 0.5446 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8785, allocations: 0 / 0.5446 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8785, allocations: 4.812 kB / 0.5446 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.8788, allocations: 182.3 kB / 0.5448 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.8789, allocations: 19.38 kB / 0.5448 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.8789, allocations: 0.8438 kB / 0.5448 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.8791, allocations: 5.469 kB / 0.5448 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.8791, allocations: 13.94 kB / 0.5448 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.8791, allocations: 0 / 0.5448 GB, free: 15.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.8793, allocations: 133.3 kB / 0.5449 GB, free: 15.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8793, allocations: 0 / 0.5449 GB, free: 15.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.8799, allocations: 134.8 kB / 0.5451 GB, free: 15.37 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.0007427/0.8806, allocations: 333.6 kB / 0.5454 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.8809, allocations: 74.09 kB / 0.5455 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8809, allocations: 0.8125 kB / 0.5455 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.881, allocations: 37.19 kB / 0.5455 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.8812, allocations: 17.08 kB / 0.5455 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.8818, allocations: 325 kB / 0.5458 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.8818, allocations: 73.22 kB / 0.5459 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.882, allocations: 47.78 kB / 0.5459 GB, free: 14.98 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.882, allocations: 0 / 0.5459 GB, free: 14.98 MB / 462.1 MB Notification: Performance of Templates: time 0.00599/0.888, allocations: 4.159 MB / 0.55 GB, free: 14.6 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.829143571667373]