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.0009967/0.0009967, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001019/0.001019, allocations: 168 kB / 25.61 MB, free: 8.582 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 0.9309/0.9309, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.763e-06/1.763e-06, allocations: 3.938 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.785e-05, allocations: 2.312 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.005754/0.005782, allocations: 1.713 MB / 275.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.006712, allocations: 0.5388 MB / 276.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.00681, allocations: 4 kB / 276.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.006931, allocations: 12.48 kB / 276.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.00712, allocations: 25.39 kB / 276.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.01037, allocations: 63.78 kB / 276.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.01054, allocations: 105 kB / 276.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.01065, allocations: 25.2 kB / 276.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.01079, allocations: 63.81 kB / 276.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.01087, allocations: 36.38 kB / 276.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.01089, allocations: 4.906 kB / 276.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.01094, allocations: 12 kB / 276.8 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.01099, allocations: 19.92 kB / 276.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.01103, allocations: 28.53 kB / 276.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.01117, allocations: 67.62 kB / 276.9 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.01117, allocations: 6.469 kB / 276.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01117, allocations: 0 / 276.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.01118, allocations: 0 / 276.9 MB, free: 1.719 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.0004998/0.01168, allocations: 440.1 kB / 277.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.01172, allocations: 8.031 kB / 277.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.01184, allocations: 30.77 kB / 277.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01202, allocations: 148.9 kB / 277.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.01203, allocations: 8.375 kB / 277.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.01205, allocations: 8.875 kB / 277.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.01218, allocations: 71.58 kB / 277.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01219, allocations: 3.938 kB / 277.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.0122, allocations: 8 kB / 277.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.0122, allocations: 0 / 277.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.01224, allocations: 23.92 kB / 277.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.01263, allocations: 308.1 kB / 277.9 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.521e-05/0.01273, allocations: 47.12 kB / 278 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.01276, allocations: 23.67 kB / 278 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01277, allocations: 0 / 278 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.01279, allocations: 33.39 kB / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.01279, allocations: 4 kB / 278 MB, free: 468 kB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001679/0.01296, allocations: 65.58 kB / 278.1 MB, free: 396 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.013, allocations: 55.41 kB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.01613, allocations: 211.8 kB / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.01614, allocations: 25.7 kB / 278.4 MB, free: 68 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.01624, allocations: 154.9 kB / 278.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.01627, allocations: 23.84 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.01631, allocations: 23.36 kB / 278.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.01649, allocations: 0.4962 MB / 279.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.01651, allocations: 4 kB / 279.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.01653, allocations: 7.984 kB / 279.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.01658, allocations: 35.81 kB / 279.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01658, allocations: 0 / 279.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.542e-05/0.01667, allocations: 65.58 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01669, allocations: 8 kB / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01669, allocations: 0 / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.0167, allocations: 0 / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01686, allocations: 39.95 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01687, allocations: 3.938 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.0169, allocations: 11.89 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.01691, allocations: 0 / 279.2 MB, free: 15.16 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.159e-05/0.01699, allocations: 160.6 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.01706, allocations: 15.94 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.01709, allocations: 8.469 kB / 279.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01709, allocations: 4 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01709, allocations: 0 / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01709, allocations: 4.188 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01724, allocations: 121.2 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.01724, allocations: 7.984 kB / 279.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.01733, allocations: 19.98 kB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01733, allocations: 8 kB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01734, allocations: 0 / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01735, allocations: 0 / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01735, allocations: 0 / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.01752, allocations: 219.8 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.01754, allocations: 7.953 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01755, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.01761, allocations: 8 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.01764, allocations: 3.984 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.01764, allocations: 3.938 kB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.0177, allocations: 158 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0177, allocations: 4.031 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.01792, allocations: 19.95 kB / 280 MB, free: 14.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 9.212e-05/0.01802, allocations: 91.25 kB / 280.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.0181, allocations: 27.67 kB / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.0181, allocations: 0 / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.01813, allocations: 27.61 kB / 280.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.01841, allocations: 19.98 kB / 280.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.0221, allocations: 258.4 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.02214, allocations: 67.28 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.02218, allocations: 4.188 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.02225, allocations: 82.19 kB / 280.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02225, allocations: 0 / 280.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Templates: time 0.006202/0.02845, allocations: 1.066 MB / 281.6 MB, free: 12.67 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.587960478849709]