Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.174e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00332/0.003352, allocations: 1.646 MB / 268.9 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.004489, allocations: 482.6 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.004619, allocations: 3.938 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.004773, allocations: 15.86 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.005038, allocations: 31.66 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.005287, allocations: 47.92 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.005527, allocations: 111.6 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.005652, allocations: 21.3 kB / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.005806, allocations: 51.88 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.005897, allocations: 31.91 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.005924, allocations: 8 kB / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.005943, allocations: 8 kB / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.006009, allocations: 23.84 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.006065, allocations: 23.92 kB / 269.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.006239, allocations: 87.62 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.006243, allocations: 4 kB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006245, allocations: 4 kB / 269.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.006249, allocations: 0 / 269.9 MB, free: 4.137 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.0007567/0.007006, allocations: 333.9 kB / 270.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.007046, allocations: 8.922 kB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.007111, allocations: 16.89 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.007415, allocations: 153.1 kB / 270.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.007432, allocations: 12.31 kB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.007487, allocations: 11.89 kB / 270.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.007694, allocations: 84.98 kB / 270.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007703, allocations: 0 / 270.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.00772, allocations: 8 kB / 270.5 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.007725, allocations: 0 / 270.5 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.007857, allocations: 43.91 kB / 270.5 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.008416, allocations: 280.3 kB / 270.8 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.008582, allocations: 54.59 kB / 270.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.008659, allocations: 32.89 kB / 270.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.00868, allocations: 4 kB / 270.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.008714, allocations: 34.56 kB / 270.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.008715, allocations: 0 / 270.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003298/0.009045, allocations: 105.5 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.00909, allocations: 51.41 kB / 271.1 MB, free: 2.805 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.009244, allocations: 141.8 kB / 271.2 MB, free: 2.656 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.009269, allocations: 29.7 kB / 271.3 MB, free: 2.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.00938, allocations: 112.1 kB / 271.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.00942, allocations: 31.81 kB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.009465, allocations: 17.72 kB / 271.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.009638, allocations: 322.8 kB / 271.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.00971, allocations: 19.98 kB / 271.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.009761, allocations: 12 kB / 271.8 MB, free: 2.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.009893, allocations: 48.84 kB / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.009895, allocations: 0 / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002035/0.0101, allocations: 97.52 kB / 271.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01012, allocations: 11.94 kB / 271.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01012, allocations: 4 kB / 271.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.01014, allocations: 0 / 271.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.01039, allocations: 35.97 kB / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.0104, allocations: 0 / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.01046, allocations: 7.984 kB / 272 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.01047, allocations: 0 / 272 MB, free: 1.887 MB / 250.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 0.0001116/0.01058, allocations: 117.8 kB / 272.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.01062, allocations: 15.89 kB / 272.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.01065, allocations: 8.469 kB / 272.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01065, allocations: 7.938 kB / 272.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01066, allocations: 4.25 kB / 272.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01066, allocations: 3.984 kB / 272.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.01086, allocations: 137.2 kB / 272.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01086, allocations: 0 / 272.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.01101, allocations: 19.98 kB / 272.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01102, allocations: 0 / 272.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01103, allocations: 7.938 kB / 272.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01103, allocations: 0 / 272.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01103, allocations: 0 / 272.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.01139, allocations: 207.4 kB / 272.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.01141, allocations: 7.984 kB / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01144, allocations: 7.922 kB / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.01153, allocations: 8 kB / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.01157, allocations: 0 / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.01158, allocations: 3.984 kB / 272.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.735e-05/0.01168, allocations: 114.2 kB / 272.6 MB, free: 1.176 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 0 / 272.6 MB, free: 1.176 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01193, allocations: 19.94 kB / 272.6 MB, free: 1.156 MB / 250.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 0.0001181/0.01205, allocations: 95.31 kB / 272.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.01224, allocations: 51.95 kB / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01225, allocations: 0 / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.01231, allocations: 23.92 kB / 272.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01266, allocations: 19.98 kB / 272.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.01333, allocations: 248.7 kB / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01343, allocations: 92.3 kB / 273.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.01348, allocations: 8.172 kB / 273.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.01353, allocations: 16.48 kB / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01353, allocations: 0 / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of Templates: time 0.004199/0.01773, allocations: 0.9655 MB / 274.2 MB, free: 15.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2854817260522395]