Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.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.001262/0.001262, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.002959, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001015/0.001015, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002328, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.078/1.078, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1145/1.193, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.426e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00258/0.002605, allocations: 1.779 MB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.003446, allocations: 0.5576 MB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003552, allocations: 7.938 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.853e-05/0.00363, allocations: 7.875 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.003764, allocations: 27.8 kB / 247.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.003974, allocations: 63.83 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004112, allocations: 91.72 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004217, allocations: 33.88 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.004401, allocations: 79.73 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.004479, allocations: 35.89 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.004503, allocations: 8 kB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.004571, allocations: 12 kB / 247.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.004628, allocations: 19.88 kB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.00466, allocations: 19.94 kB / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.004809, allocations: 59.75 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.004823, allocations: 0 / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004824, allocations: 3.938 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.004834, allocations: 0 / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004976/0.005332, allocations: 332.1 kB / 247.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.005369, allocations: 8.031 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.00554, allocations: 102 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.005728, allocations: 146.1 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.005742, allocations: 8.312 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.00578, allocations: 16.31 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.005921, allocations: 66.94 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.005932, allocations: 3.938 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.005944, allocations: 11.98 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.005949, allocations: 0 / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.005976, allocations: 12 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.006374, allocations: 218.9 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.006499, allocations: 38.55 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006522, allocations: 12.86 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.006546, allocations: 0 / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.006579, allocations: 38.5 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.006581, allocations: 4 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001474/0.006728, allocations: 53.67 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.006761, allocations: 51.41 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.006843, allocations: 149.6 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.006857, allocations: 33.69 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.006905, allocations: 108 kB / 248.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.00693, allocations: 15.91 kB / 248.9 MB, free: 9.879 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.006959, allocations: 17.72 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007064, allocations: 330.8 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.007081, allocations: 4 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.007094, allocations: 7.984 kB / 249.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.00714, allocations: 24.78 kB / 249.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.007143, allocations: 4 kB / 249.3 MB, free: 9.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.066e-05/0.007214, allocations: 49.84 kB / 249.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.007229, allocations: 8 kB / 249.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.007235, allocations: 80 / 249.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007248, allocations: 0 / 249.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.00752, allocations: 67.8 kB / 249.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007524, allocations: 0 / 249.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.00755, allocations: 7.953 kB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.007557, allocations: 7.938 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 6.592e-05/0.007623, allocations: 116.6 kB / 249.5 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.00764, allocations: 8 kB / 249.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.007669, allocations: 16.45 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007671, allocations: 0 / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007674, allocations: 3.938 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007677, allocations: 0 / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.00779, allocations: 93.8 kB / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.007793, allocations: 0 / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.007904, allocations: 27.97 kB / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.007916, allocations: 11.94 kB / 249.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007919, allocations: 4 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.007933, allocations: 4 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007935, allocations: 256 / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.007938, allocations: 7.938 kB / 249.7 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.0081, allocations: 159.5 kB / 249.9 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.008115, allocations: 8 kB / 249.9 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.008152, allocations: 0 / 249.9 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.008179, allocations: 3.984 kB / 249.9 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.008185, allocations: 7.938 kB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.008215, allocations: 28.83 kB / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008215, allocations: 0 / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.008345, allocations: 23.98 kB / 249.9 MB, free: 8.773 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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 9.136e-05/0.008437, allocations: 76.41 kB / 250 MB, free: 8.688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.008514, allocations: 24.8 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.008523, allocations: 4 kB / 250 MB, free: 8.656 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.008551, allocations: 24.78 kB / 250 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.008803, allocations: 195 kB / 250.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.009622, allocations: 263.5 kB / 250.5 MB, free: 8.121 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.009664, allocations: 63.34 kB / 250.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.009705, allocations: 8.484 kB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.009775, allocations: 63.38 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009776, allocations: 0 / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of Templates: time 0.003154/0.01293, allocations: 1.274 MB / 251.9 MB, free: 6.723 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5849027214571834]