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.0009915/0.0009915, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0008982/0.0008982, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.625 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.233e-06/1.233e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.881e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002244/0.002263, allocations: 1.719 MB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.003175, allocations: 0.5337 MB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.003257, allocations: 3.938 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.003367, allocations: 11.81 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.003579, allocations: 31.78 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.003823, allocations: 63.84 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.003977, allocations: 103.6 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004085, allocations: 25.23 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.004236, allocations: 63.81 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.004305, allocations: 31.89 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004325, allocations: 4 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.004372, allocations: 12 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.004431, allocations: 19.92 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.004473, allocations: 31.91 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004624, allocations: 75.61 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004627, allocations: 0 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004628, allocations: 0 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004631, allocations: 0 / 275.7 MB, free: 14.81 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.0004792/0.005111, allocations: 436.1 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005146, allocations: 8.031 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.005258, allocations: 32.84 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.005437, allocations: 156.9 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005452, allocations: 8.375 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.005482, allocations: 4.375 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005611, allocations: 74.94 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.00562, allocations: 3.938 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005631, allocations: 4 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.005639, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.005683, allocations: 19.98 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.006065, allocations: 339.5 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.00617, allocations: 55.02 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.006201, allocations: 19.69 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.006218, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.006241, allocations: 41.42 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.006243, allocations: 3.984 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000172/0.006415, allocations: 65.83 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.006445, allocations: 55.41 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.006551, allocations: 204.8 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.006563, allocations: 29.7 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.006621, allocations: 166.8 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.006644, allocations: 15.86 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.006675, allocations: 27.36 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.006782, allocations: 0.4884 MB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.006808, allocations: 24.03 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.006824, allocations: 4 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.006874, allocations: 39.81 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006876, allocations: 0 / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.823e-05/0.006954, allocations: 57.66 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.006967, allocations: 11.98 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006972, allocations: 4 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.00699, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.007138, allocations: 43.84 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007142, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.007169, allocations: 11.89 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.007177, allocations: 4 kB / 278.1 MB, free: 12.19 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.366e-05/0.007251, allocations: 152.6 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.007273, allocations: 15.95 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.007301, allocations: 8.469 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.007304, allocations: 7.984 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.007308, allocations: 7.938 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007312, allocations: 0 / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.007429, allocations: 140.6 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00743, allocations: 0 / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.007499, allocations: 19.98 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.0075, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.007514, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.007515, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007516, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.007691, allocations: 235.8 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.007707, allocations: 11.91 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.007721, allocations: 0 / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.007761, allocations: 7.984 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.007793, allocations: 3.938 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.007798, allocations: 4.062 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.007859, allocations: 151.2 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007859, allocations: 3.938 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.00801, allocations: 12 kB / 278.9 MB, free: 11.36 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 8.048e-05/0.008091, allocations: 99.28 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.979e-05/0.00819, allocations: 39.61 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008192, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.008218, allocations: 19.67 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.008443, allocations: 25.92 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.00913, allocations: 266.2 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.009179, allocations: 67.34 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.009225, allocations: 7.984 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.009266, allocations: 12.5 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009267, allocations: 0 / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002952/0.01222, allocations: 0.9663 MB / 280.4 MB, free: 9.812 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: 3.017301381099969]