Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001949/0.001949, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 211 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003158/0.003158, allocations: 59.91 kB / 378.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2452, allocations: 53.4 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002721/0.248, allocations: 1.347 MB / 433 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.397/0.645, allocations: 130.6 MB / 0.5504 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.645, allocations: 0 / 0.5504 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.6451, allocations: 6.875 kB / 0.5504 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008147/0.6459, allocations: 239.3 kB / 0.5506 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.6467, allocations: 408.8 kB / 0.551 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.6468, allocations: 56.86 kB / 0.5511 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.6469, allocations: 6.875 kB / 0.5511 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.6469, allocations: 20.31 kB / 0.5511 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.647, allocations: 33.86 kB / 0.5511 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.647, allocations: 1.203 kB / 0.5511 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.6478, allocations: 0.5662 MB / 0.5517 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.6478, allocations: 12.23 kB / 0.5517 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.6479, allocations: 17.2 kB / 0.5517 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.6484, allocations: 482.6 kB / 0.5522 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6484, allocations: 0 / 0.5522 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6484, allocations: 0 / 0.5522 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.6485, allocations: 0.7188 kB / 0.5522 GB, free: 1.191 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.0005774/0.649, allocations: 362.1 kB / 0.5525 GB, free: 16.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.6491, allocations: 13.11 kB / 0.5525 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6502, allocations: 107.9 kB / 0.5526 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.6505, allocations: 164.3 kB / 0.5528 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.6505, allocations: 6.156 kB / 0.5528 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.6505, allocations: 2.594 kB / 0.5528 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.6507, allocations: 93.06 kB / 0.5529 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.6507, allocations: 3.5 kB / 0.5529 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.6508, allocations: 0.7188 kB / 0.5529 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6508, allocations: 1.5 kB / 0.5529 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.6509, allocations: 42.67 kB / 0.5529 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.6511, allocations: 150.9 kB / 0.5531 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.6515, allocations: 129.4 kB / 0.5532 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.6516, allocations: 43.14 kB / 0.5532 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.6518, allocations: 95.33 kB / 0.5533 GB, free: 16.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.6519, allocations: 33.44 kB / 0.5534 GB, free: 16.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.6519, allocations: 0.9062 kB / 0.5534 GB, free: 16.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004478/0.6523, allocations: 136.2 kB / 0.5535 GB, free: 16.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.6524, allocations: 80.58 kB / 0.5536 GB, free: 16.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.6526, allocations: 156.7 kB / 0.5537 GB, free: 16.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.6526, allocations: 25.7 kB / 0.5537 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.6526, allocations: 87.52 kB / 0.5538 GB, free: 16.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.6527, allocations: 20.08 kB / 0.5538 GB, free: 16.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.6527, allocations: 32.5 kB / 0.5539 GB, free: 16.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6529, allocations: 321.1 kB / 0.5542 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.653, allocations: 27.25 kB / 0.5542 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.6531, allocations: 55.78 kB / 0.5543 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.6533, allocations: 85.52 kB / 0.5543 GB, free: 15.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6533, allocations: 5 kB / 0.5543 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003048/0.6536, allocations: 126.1 kB / 0.5545 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6536, allocations: 4.906 kB / 0.5545 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6536, allocations: 0 / 0.5545 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6536, allocations: 3.906 kB / 0.5545 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.6537, allocations: 27.55 kB / 0.5545 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.6537, allocations: 3.5 kB / 0.5545 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.6539, allocations: 7.625 kB / 0.5545 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.6539, allocations: 10.72 kB / 0.5545 GB, free: 15.65 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.01e-05/0.654, allocations: 123.6 kB / 0.5546 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.654, allocations: 7.516 kB / 0.5546 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.6546, allocations: 250.8 kB / 0.5549 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6546, allocations: 0 / 0.5549 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6546, allocations: 2.906 kB / 0.5549 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6546, allocations: 4.031 kB / 0.5549 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.6547, allocations: 160.5 kB / 0.555 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6547, allocations: 2 kB / 0.555 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.6549, allocations: 25.56 kB / 0.5551 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6549, allocations: 0.5312 kB / 0.5551 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6549, allocations: 3 kB / 0.5551 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6549, allocations: 0 / 0.5551 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6549, allocations: 7.375 kB / 0.5551 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.6553, allocations: 172.5 kB / 0.5552 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.6553, allocations: 20.61 kB / 0.5553 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.6554, allocations: 4.828 kB / 0.5553 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6555, allocations: 9.578 kB / 0.5553 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.6556, allocations: 5.312 kB / 0.5553 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.6556, allocations: 6.562 kB / 0.5553 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.6557, allocations: 132.5 kB / 0.5554 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6557, allocations: 0.875 kB / 0.5554 GB, free: 15.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000402/0.6561, allocations: 132 kB / 0.5555 GB, free: 15.17 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.0005325/0.6567, allocations: 305.8 kB / 0.5558 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6569, allocations: 82.14 kB / 0.5559 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6569, allocations: 0 / 0.5559 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.657, allocations: 43.69 kB / 0.5559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.6572, allocations: 20.91 kB / 0.556 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.6577, allocations: 302.2 kB / 0.5563 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.6578, allocations: 73.95 kB / 0.5563 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.6582, allocations: 431.1 kB / 0.5567 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.6583, allocations: 46.19 kB / 0.5568 GB, free: 14.73 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6583, allocations: 0 / 0.5568 GB, free: 14.73 MB / 462.1 MB Notification: Performance of Templates: time 0.00822/0.6665, allocations: 5.507 MB / 0.5622 GB, free: 14.04 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.963093053549528]