Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.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.001182/0.001182, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009887/0.0009887, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9346/0.9346, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.587e-05, allocations: 2.312 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.005359/0.005375, allocations: 1.711 MB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008601/0.006235, allocations: 0.5359 MB / 276.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.006325, allocations: 9.719 kB / 276.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.006432, allocations: 11.86 kB / 276.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.006605, allocations: 23.75 kB / 276.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.00683, allocations: 64.61 kB / 276.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.006978, allocations: 95.7 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.007073, allocations: 33.81 kB / 276.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.007202, allocations: 65.56 kB / 276.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.007268, allocations: 31.89 kB / 276.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.007286, allocations: 8 kB / 276.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/0.007325, allocations: 8 kB / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.007374, allocations: 24.41 kB / 276.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.007409, allocations: 31.86 kB / 276.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.01055, allocations: 64.33 kB / 276.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.01055, allocations: 0.6562 kB / 276.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01055, allocations: 3.938 kB / 276.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.01055, allocations: 2.469 kB / 276.8 MB, free: 1.59 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.0004156/0.01097, allocations: 440.1 kB / 277.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.011, allocations: 8.031 kB / 277.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.0111, allocations: 24.83 kB / 277.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.01125, allocations: 157 kB / 277.4 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.01126, allocations: 8.312 kB / 277.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.01128, allocations: 12.38 kB / 277.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.01138, allocations: 70.92 kB / 277.5 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.01139, allocations: 7.875 kB / 277.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.0114, allocations: 4 kB / 277.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.0114, allocations: 0 / 277.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.01144, allocations: 15.98 kB / 277.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.01177, allocations: 312.1 kB / 277.9 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.01185, allocations: 47.06 kB / 277.9 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.01188, allocations: 27.7 kB / 277.9 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.01189, allocations: 3.938 kB / 277.9 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.01191, allocations: 37.39 kB / 278 MB, free: 324 kB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.01191, allocations: 0 / 278 MB, free: 324 kB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001443/0.01205, allocations: 65.64 kB / 278 MB, free: 252 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.01208, allocations: 51.41 kB / 278.1 MB, free: 188 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.01219, allocations: 209.2 kB / 278.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.0122, allocations: 25.7 kB / 278.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.01226, allocations: 162.9 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.01228, allocations: 19.84 kB / 278.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.01232, allocations: 23.38 kB / 278.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01245, allocations: 0.4962 MB / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.01246, allocations: 4 kB / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.01248, allocations: 15.92 kB / 279 MB, free: 15.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.01252, allocations: 23.69 kB / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01253, allocations: 0 / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.622e-05/0.01261, allocations: 65.62 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.01262, allocations: 4 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.01263, allocations: 0 / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.01263, allocations: 4 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.01278, allocations: 43.91 kB / 279.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01278, allocations: 3.938 kB / 279.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.01281, allocations: 7.891 kB / 279.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01282, allocations: 0 / 279.2 MB, free: 15.03 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 7.184e-05/0.01289, allocations: 160.6 kB / 279.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01292, allocations: 7.953 kB / 279.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.01294, allocations: 16.45 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01294, allocations: 0 / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.01294, allocations: 4 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01295, allocations: 3.938 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.01308, allocations: 121.2 kB / 279.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01308, allocations: 0 / 279.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.01316, allocations: 23.97 kB / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01317, allocations: 0 / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01318, allocations: 0 / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01318, allocations: 0 / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01318, allocations: 0 / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.01636, allocations: 231.7 kB / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.01638, allocations: 7.984 kB / 279.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01639, allocations: 4.312 kB / 279.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.01645, allocations: 8 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.01648, allocations: 7.984 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.01648, allocations: 0 / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.01654, allocations: 147.1 kB / 279.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01654, allocations: 0 / 279.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.01676, allocations: 19.95 kB / 279.9 MB, free: 14.23 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 7.094e-05/0.01683, allocations: 91.25 kB / 280 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.743e-05/0.0169, allocations: 31.61 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01691, allocations: 8 kB / 280.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.01693, allocations: 19.67 kB / 280.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01719, allocations: 26.72 kB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.01776, allocations: 250.4 kB / 280.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.01781, allocations: 71.22 kB / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.01784, allocations: 8 kB / 280.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.23e-05/0.01792, allocations: 82.19 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01792, allocations: 0 / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Templates: time 0.005869/0.02379, allocations: 1.049 MB / 281.5 MB, free: 12.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.728079254273325]