Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001965/0.001965, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002438/0.002438, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.609/1.609, allocations: 230.5 MB / 258.1 MB, free: 7.777 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2489, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002588/0.2514, allocations: 1.343 MB / 433.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4138/0.6652, allocations: 130.9 MB / 0.5514 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.6653, allocations: 0 / 0.5514 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.6653, allocations: 4.641 kB / 0.5514 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.6666, allocations: 386.3 kB / 0.5518 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.6678, allocations: 0.5201 MB / 0.5523 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.6679, allocations: 76.83 kB / 0.5524 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.6679, allocations: 2.469 kB / 0.5524 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.668, allocations: 35.58 kB / 0.5524 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.668, allocations: 38.16 kB / 0.5524 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.6681, allocations: 3.062 kB / 0.5524 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.6697, allocations: 0.9333 MB / 0.5534 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.6697, allocations: 17.97 kB / 0.5534 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.6698, allocations: 24.19 kB / 0.5534 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6708, allocations: 0.6701 MB / 0.5541 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6709, allocations: 0 / 0.5541 GB, free: 15.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6709, allocations: 1.375 kB / 0.5541 GB, free: 15.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.6709, allocations: 4 kB / 0.5541 GB, free: 15.84 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.000674/0.6715, allocations: 384.1 kB / 0.5544 GB, free: 15.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6716, allocations: 16.53 kB / 0.5544 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.672, allocations: 68.27 kB / 0.5545 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.6722, allocations: 141.4 kB / 0.5546 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.6722, allocations: 7.562 kB / 0.5546 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.6722, allocations: 4.438 kB / 0.5546 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.6724, allocations: 69.34 kB / 0.5547 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6724, allocations: 3 kB / 0.5547 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.6724, allocations: 4.938 kB / 0.5547 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6724, allocations: 4 kB / 0.5547 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.6725, allocations: 38.17 kB / 0.5548 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.6727, allocations: 142.2 kB / 0.5549 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.673, allocations: 115.4 kB / 0.555 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.6731, allocations: 39.59 kB / 0.555 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/0.6736, allocations: 60.41 kB / 0.5551 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.6736, allocations: 40.81 kB / 0.5551 GB, free: 15.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.6736, allocations: 0 / 0.5551 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003557/0.674, allocations: 116.8 kB / 0.5553 GB, free: 15.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.674, allocations: 80.58 kB / 0.5553 GB, free: 14.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.6742, allocations: 146.1 kB / 0.5555 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6742, allocations: 30.91 kB / 0.5555 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.6743, allocations: 85.98 kB / 0.5556 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.6743, allocations: 25.77 kB / 0.5556 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.6743, allocations: 25.41 kB / 0.5556 GB, free: 14.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6745, allocations: 319.7 kB / 0.5559 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.6746, allocations: 22.34 kB / 0.556 GB, free: 14.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.6746, allocations: 49.56 kB / 0.556 GB, free: 14.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.6748, allocations: 81.58 kB / 0.5561 GB, free: 14.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6748, allocations: 4 kB / 0.5561 GB, free: 14.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000233/0.675, allocations: 116.1 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.675, allocations: 3.469 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.675, allocations: 1.203 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6751, allocations: 3.156 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.6751, allocations: 17.16 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.6751, allocations: 2.188 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.6752, allocations: 6.953 kB / 0.5562 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6752, allocations: 4.656 kB / 0.5562 GB, free: 14.27 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.289e-05/0.6753, allocations: 119.9 kB / 0.5563 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.6753, allocations: 10.17 kB / 0.5564 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.6756, allocations: 112.5 kB / 0.5565 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6756, allocations: 0 / 0.5565 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6756, allocations: 7.375 kB / 0.5565 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6756, allocations: 1.094 kB / 0.5565 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.6757, allocations: 127.3 kB / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6757, allocations: 3 kB / 0.5566 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.6758, allocations: 17.78 kB / 0.5566 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6758, allocations: 4 kB / 0.5566 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6758, allocations: 8.734 kB / 0.5566 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6758, allocations: 0 / 0.5566 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6758, allocations: 0 / 0.5566 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.6761, allocations: 159.3 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.6762, allocations: 17.47 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.6762, allocations: 4.672 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.6762, allocations: 0 / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.6763, allocations: 8.922 kB / 0.5568 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.6763, allocations: 6.906 kB / 0.5568 GB, free: 13.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.6763, allocations: 113.8 kB / 0.5569 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6763, allocations: 3.938 kB / 0.5569 GB, free: 13.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.677, allocations: 167.5 kB / 0.5571 GB, free: 13.77 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0008433/0.6778, allocations: 415.9 kB / 0.5575 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.678, allocations: 59.42 kB / 0.5575 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.678, allocations: 0 / 0.5575 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.6781, allocations: 32.67 kB / 0.5576 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.6783, allocations: 37.08 kB / 0.5576 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.6789, allocations: 342.7 kB / 0.5579 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.679, allocations: 74.03 kB / 0.558 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.679, allocations: 16.62 kB / 0.558 GB, free: 13.27 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.679, allocations: 0 / 0.558 GB, free: 13.27 MB / 462.1 MB Notification: Performance of Templates: time 0.006093/0.6851, allocations: 4.085 MB / 0.562 GB, free: 12.77 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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: 8.748420557007194]