Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.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.001013/0.001013, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001092/0.001092, allocations: 146.6 kB / 24.89 MB, free: 8.793 MB / 18.57 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 0.9524/0.9524, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.909e-05, allocations: 2.312 kB / 268.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002142/0.002161, allocations: 1.691 MB / 270.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.002955, allocations: 498.5 kB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.003036, allocations: 4 kB / 270.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003139, allocations: 11.86 kB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.003318, allocations: 35.66 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.003514, allocations: 47.92 kB / 270.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.00366, allocations: 99.64 kB / 270.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.003749, allocations: 25.94 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.003848, allocations: 63.75 kB / 270.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.003907, allocations: 27.91 kB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.003931, allocations: 12 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.003944, allocations: 4 kB / 271 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.003993, allocations: 23.91 kB / 271 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.004026, allocations: 27.86 kB / 271 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.004134, allocations: 59.8 kB / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.004136, allocations: 0 / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004137, allocations: 0 / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.00414, allocations: 0 / 271.1 MB, free: 3.426 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.0003759/0.004516, allocations: 312.4 kB / 271.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.004547, allocations: 16.92 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.004577, allocations: 4.938 kB / 271.4 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.004714, allocations: 142.2 kB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.004723, allocations: 384 / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.00475, allocations: 19.92 kB / 271.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004853, allocations: 78.23 kB / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.00486, allocations: 0 / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.004867, allocations: 7.938 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.004873, allocations: 4 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.004897, allocations: 15.98 kB / 271.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.00521, allocations: 214.8 kB / 271.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.005288, allocations: 34.56 kB / 271.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.00531, allocations: 20.84 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005322, allocations: 0 / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.005342, allocations: 34.56 kB / 271.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.005344, allocations: 3.984 kB / 272 MB, free: 2.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.000121/0.005465, allocations: 57.61 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.005494, allocations: 55.41 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.005567, allocations: 142.6 kB / 272.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.005577, allocations: 29.7 kB / 272.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.005613, allocations: 96.06 kB / 272.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.005636, allocations: 31.91 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.005665, allocations: 17.72 kB / 272.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.005739, allocations: 326.8 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.005752, allocations: 4 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.005764, allocations: 4 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.005807, allocations: 28.77 kB / 272.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005809, allocations: 4 kB / 272.7 MB, free: 1.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.353e-05/0.005872, allocations: 57.67 kB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.005884, allocations: 4 kB / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005888, allocations: 0 / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.005901, allocations: 3.938 kB / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.00603, allocations: 35.97 kB / 272.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.006033, allocations: 0 / 272.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.006058, allocations: 8.25 kB / 272.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.006065, allocations: 4 kB / 272.8 MB, free: 1.484 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.987e-05/0.006135, allocations: 116.6 kB / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.006152, allocations: 11.98 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.006173, allocations: 8.469 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.006177, allocations: 7.938 kB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006179, allocations: 0 / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006182, allocations: 0 / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.006288, allocations: 93.84 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006289, allocations: 3.938 kB / 273.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.006359, allocations: 19.98 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.006361, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.00637, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006371, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006372, allocations: 4 kB / 273.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.006504, allocations: 167.4 kB / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.006516, allocations: 7.891 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.00653, allocations: 7.984 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.006567, allocations: 4 kB / 273.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.00659, allocations: 3.938 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.006596, allocations: 7.984 kB / 273.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.66e-05/0.006622, allocations: 27.83 kB / 273.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006622, allocations: 0 / 273.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.00675, allocations: 16 kB / 273.3 MB, free: 0.9414 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 7.247e-05/0.006822, allocations: 76.45 kB / 273.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.156e-05/0.006894, allocations: 33.06 kB / 273.4 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.006897, allocations: 0 / 273.4 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.00692, allocations: 20.8 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.007092, allocations: 41.84 kB / 273.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.007616, allocations: 259.7 kB / 273.8 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.007654, allocations: 67.33 kB / 273.8 MB, free: 412 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.007689, allocations: 8 kB / 273.8 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.007753, allocations: 63.36 kB / 273.9 MB, free: 340 kB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007754, allocations: 0 / 273.9 MB, free: 340 kB / 250.7 MB Notification: Performance of Templates: time 0.002594/0.01035, allocations: 1.007 MB / 274.9 MB, free: 15.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5841250820085406]