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.00145/0.00145, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0009969/0.0009969, allocations: 167.5 kB / 24.82 MB, free: 9.324 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.9993/0.9993, allocations: 177 MB / 205.1 MB, free: 5.465 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.573e-06/1.573e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.271e-05, allocations: 5.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002242/0.002265, allocations: 1.719 MB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.003203, allocations: 0.5376 MB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.003287, allocations: 3.938 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.003391, allocations: 11.86 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.003569, allocations: 27.73 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.003783, allocations: 63.84 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003919, allocations: 107.6 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.004018, allocations: 21.28 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.004153, allocations: 63.81 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.00422, allocations: 31.84 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.004239, allocations: 8 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.004284, allocations: 8 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.004333, allocations: 23.91 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.004361, allocations: 27.92 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.004493, allocations: 75.59 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004496, allocations: 0 / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004497, allocations: 0 / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.0045, allocations: 4 kB / 276 MB, free: 14.49 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.0004257/0.004926, allocations: 432.1 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.004977, allocations: 15.97 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.005085, allocations: 28.84 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.005244, allocations: 156.9 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.005254, allocations: 4.375 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.005275, allocations: 8.375 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.005385, allocations: 74.92 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005394, allocations: 3.938 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.005402, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.00541, allocations: 4 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.005435, allocations: 11.98 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.005762, allocations: 316.1 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.005843, allocations: 51.06 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.005865, allocations: 19.62 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.005881, allocations: 0 / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.005902, allocations: 37.39 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.005903, allocations: 0 / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001484/0.006051, allocations: 73.66 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.006077, allocations: 51.41 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.00617, allocations: 205.2 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.00618, allocations: 25.7 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.006237, allocations: 166.9 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.006256, allocations: 11.86 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.006286, allocations: 27.38 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.006399, allocations: 0.4961 MB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.006414, allocations: 15.92 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.006426, allocations: 4 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.006464, allocations: 23.69 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006466, allocations: 0 / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.364e-05/0.00654, allocations: 65.62 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.006553, allocations: 7.125 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006557, allocations: 0 / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.00657, allocations: 8 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.006698, allocations: 40.16 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006702, allocations: 3.938 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.006729, allocations: 19.88 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.006734, allocations: 4 kB / 278.4 MB, free: 11.93 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 6.287e-05/0.006797, allocations: 152.6 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.006814, allocations: 7.953 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.006837, allocations: 16.47 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006839, allocations: 0 / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006841, allocations: 4 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.006845, allocations: 7.938 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.006947, allocations: 113.2 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006948, allocations: 0 / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.79e-05/0.007015, allocations: 23.98 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.007017, allocations: 0 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.007028, allocations: 0 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007029, allocations: 4 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00703, allocations: 0 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.007181, allocations: 228 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.007195, allocations: 15.94 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.007206, allocations: 0 / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.007244, allocations: 3.984 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.007266, allocations: 4 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007269, allocations: 0 / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.951e-05/0.007319, allocations: 155.1 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007319, allocations: 0 / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.007454, allocations: 12 kB / 279.1 MB, free: 11.14 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.62e-05/0.00753, allocations: 87.25 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.007604, allocations: 47.53 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.007605, allocations: 4 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.007627, allocations: 19.67 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.007833, allocations: 23.42 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.008345, allocations: 258.4 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.008382, allocations: 79.22 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.762e-05/0.00841, allocations: 7.984 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.00847, allocations: 78.2 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008471, allocations: 0 / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002517/0.01099, allocations: 1.009 MB / 280.7 MB, free: 9.484 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.5969485859386623]