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.001226/0.001226, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001466/0.001466, allocations: 172 kB / 24.91 MB, free: 8.766 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.71e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002147/0.002164, allocations: 1.712 MB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000724/0.002888, allocations: 0.553 MB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.002956, allocations: 4 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.799e-05/0.003044, allocations: 11.86 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.003193, allocations: 31.78 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.003401, allocations: 63.73 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003525, allocations: 103.7 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.003603, allocations: 25.95 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.003723, allocations: 59.81 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.00378, allocations: 31.89 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003796, allocations: 8 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.548e-05/0.003831, allocations: 15.94 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.003873, allocations: 19.92 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.003902, allocations: 31.91 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.00401, allocations: 63.67 kB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004011, allocations: 0 / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004012, allocations: 0 / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.004016, allocations: 0 / 276.2 MB, free: 14.58 MB / 266.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.0003126/0.004328, allocations: 316.4 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.004355, allocations: 8.031 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.004441, allocations: 24.92 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.004568, allocations: 146.1 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.004581, allocations: 8.375 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.004602, allocations: 12.33 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.00469, allocations: 74.92 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004697, allocations: 3.938 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.004704, allocations: 0 / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004709, allocations: 4 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.004731, allocations: 15.92 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.004986, allocations: 214.9 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.005053, allocations: 46.48 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.005069, allocations: 16.84 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.00508, allocations: 7.938 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.005097, allocations: 30.56 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.005098, allocations: 0 / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001064/0.005204, allocations: 57.67 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.005231, allocations: 59.34 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.005295, allocations: 141.7 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005305, allocations: 25.7 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.005341, allocations: 116 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005358, allocations: 15.88 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.005385, allocations: 21.72 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.005452, allocations: 322.8 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.005462, allocations: 4 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.005473, allocations: 11.98 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.005506, allocations: 20.84 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005508, allocations: 0 / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.29e-05/0.005571, allocations: 61.61 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.00558, allocations: 8 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.005584, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.005592, allocations: 4 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.005708, allocations: 35.97 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.00571, allocations: 0 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.005733, allocations: 11.83 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.005739, allocations: 4 kB / 278 MB, free: 12.61 MB / 266.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 5.02e-05/0.005789, allocations: 112.7 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.005804, allocations: 7.984 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.005823, allocations: 16.47 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005824, allocations: 0 / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005826, allocations: 0 / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.00583, allocations: 7.922 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.982e-05/0.00592, allocations: 85.86 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005921, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.005978, allocations: 19.98 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.00598, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.005989, allocations: 12.19 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005991, allocations: 4 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005992, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.006101, allocations: 167.4 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.006113, allocations: 11.94 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006123, allocations: 0 / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.006158, allocations: 4 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.006178, allocations: 3.984 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006181, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.388e-05/0.006204, allocations: 35.78 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006205, allocations: 0 / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001211/0.006326, allocations: 15.95 kB / 278.5 MB, free: 12.07 MB / 266.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 6.031e-05/0.006386, allocations: 80.39 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.872e-05/0.006445, allocations: 36.83 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006447, allocations: 0 / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.006465, allocations: 16.84 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.006616, allocations: 19.98 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.007075, allocations: 255.5 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.007109, allocations: 67.34 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.007137, allocations: 7.984 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.007192, allocations: 59.38 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.007193, allocations: 0 / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002362/0.009555, allocations: 1.007 MB / 280 MB, free: 10.49 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.502072656992823]