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.001051/0.001051, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001299/0.001299, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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 1.009/1.009, allocations: 177 MB / 204.8 MB, free: 5.164 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 2.895e-06/2.895e-06, allocations: 0 / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.318e-05, allocations: 2.312 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003639/0.003672, allocations: 1.731 MB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004953, allocations: 0.5337 MB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.005071, allocations: 4 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.005208, allocations: 15.86 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005439, allocations: 23.75 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.005747, allocations: 67.77 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.005953, allocations: 99.64 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.006075, allocations: 25.28 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.006272, allocations: 59.88 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.588e-05/0.006358, allocations: 39.83 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.006383, allocations: 8 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.00644, allocations: 11.94 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.006505, allocations: 23.91 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.006548, allocations: 23.92 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.006732, allocations: 67.73 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006735, allocations: 0 / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006737, allocations: 3.938 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006742, allocations: 0 / 275.6 MB, free: 14.54 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.0005805/0.007322, allocations: 436.1 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.007363, allocations: 15.98 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.007523, allocations: 28.83 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.007747, allocations: 152.9 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.007763, allocations: 8.375 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.007792, allocations: 4.375 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.007959, allocations: 78.92 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.00797, allocations: 3.938 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.007983, allocations: 4 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.007998, allocations: 4 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.008062, allocations: 22.59 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.008596, allocations: 339.5 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.008733, allocations: 51.02 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.008776, allocations: 23.72 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.008792, allocations: 4 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.00882, allocations: 33.39 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.008822, allocations: 0 / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002373/0.009059, allocations: 73.58 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.009098, allocations: 51.41 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.009233, allocations: 205.2 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.00925, allocations: 33.7 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.009327, allocations: 158.9 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.009357, allocations: 23.84 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.0094, allocations: 23.38 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.009545, allocations: 0.4923 MB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.009574, allocations: 4 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.009601, allocations: 11.98 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.009666, allocations: 27.94 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009668, allocations: 0 / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001284/0.009796, allocations: 85.5 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.009813, allocations: 4 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.009818, allocations: 4 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.009833, allocations: 0 / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.01004, allocations: 39.91 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01005, allocations: 0 / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.01009, allocations: 11.89 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.0101, allocations: 0 / 278 MB, free: 11.92 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 8.801e-05/0.01019, allocations: 160.6 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01022, allocations: 7.953 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.01025, allocations: 16.45 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01025, allocations: 4 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.01026, allocations: 7.922 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01026, allocations: 0 / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.01043, allocations: 140.6 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01043, allocations: 0 / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.01056, allocations: 23.92 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.01057, allocations: 3.984 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01059, allocations: 4 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01059, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01059, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.01083, allocations: 227.8 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01085, allocations: 11.89 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01087, allocations: 4 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.01095, allocations: 0 / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.01098, allocations: 11.92 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01099, allocations: 4 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.01107, allocations: 143.2 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01107, allocations: 0 / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.01133, allocations: 16 kB / 278.8 MB, free: 11.09 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 9.292e-05/0.01143, allocations: 95.17 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.01155, allocations: 43.92 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01156, allocations: 0 / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.0116, allocations: 27.69 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.01195, allocations: 23.97 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/0.01277, allocations: 250.3 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.01282, allocations: 75.2 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.01287, allocations: 8 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.01291, allocations: 12.5 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01291, allocations: 0 / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of Templates: time 0.003893/0.0168, allocations: 1.001 MB / 280.3 MB, free: 9.508 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.794800757896155]