Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.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.001207/0.001207, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002069/0.003276, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001291/0.001291, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0017/0.002991, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.096/1.096, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1174/1.213, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3365/0.3365, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02977/0.3662, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.732e-05, allocations: 3.438 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003766/0.003803, allocations: 1.709 MB / 292.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.005078, allocations: 0.5881 MB / 292.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.005193, allocations: 1.344 kB / 292.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.005298, allocations: 17.27 kB / 292.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.00536, allocations: 13.25 kB / 292.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.005735, allocations: 89.31 kB / 293 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005954, allocations: 113.3 kB / 293.1 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.006083, allocations: 21.23 kB / 293.1 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.006261, allocations: 73.84 kB / 293.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.006352, allocations: 36.22 kB / 293.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.006385, allocations: 8 kB / 293.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.006405, allocations: 8 kB / 293.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.006435, allocations: 16.12 kB / 293.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.006489, allocations: 23.56 kB / 293.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.006663, allocations: 61.56 kB / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.319e-05/0.006686, allocations: 0.5625 kB / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.006688, allocations: 0 / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.006709, allocations: 0.5 kB / 293.4 MB, free: 5.531 MB / 282.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.0006432/0.007352, allocations: 319.2 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.007396, allocations: 8.031 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.007453, allocations: 12.94 kB / 293.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.007673, allocations: 141.5 kB / 293.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.007706, allocations: 12.31 kB / 293.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.007735, allocations: 16.34 kB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.007944, allocations: 82.92 kB / 293.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.007953, allocations: 4.188 kB / 293.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.007967, allocations: 4.375 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.007975, allocations: 3.938 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.008027, allocations: 18.23 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.008505, allocations: 235.9 kB / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.008638, allocations: 46.5 kB / 294.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.008663, allocations: 16.86 kB / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.008675, allocations: 0 / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.008834, allocations: 67.36 kB / 294.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.008836, allocations: 0 / 294.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001735/0.00901, allocations: 69.61 kB / 294.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.009059, allocations: 51.41 kB / 294.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.009156, allocations: 130.7 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.009175, allocations: 29.7 kB / 294.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.009229, allocations: 96.3 kB / 294.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.009259, allocations: 31.92 kB / 294.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.009311, allocations: 25.7 kB / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.009428, allocations: 330.7 kB / 295.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.009455, allocations: 7.938 kB / 295.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.009488, allocations: 21.72 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.009544, allocations: 37.61 kB / 295.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.009547, allocations: 0 / 295.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001114/0.009658, allocations: 61.62 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.009677, allocations: 4 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.009685, allocations: 4.031 kB / 295.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.009695, allocations: 0 / 295.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.009803, allocations: 19.98 kB / 295.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.009808, allocations: 4 kB / 295.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.009856, allocations: 7.984 kB / 295.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.009864, allocations: 4 kB / 295.2 MB, free: 3.488 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.579e-05/0.00996, allocations: 121.7 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.009978, allocations: 4 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.01001, allocations: 16.77 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01002, allocations: 4 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01002, allocations: 0 / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01003, allocations: 0 / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.01035, allocations: 226.7 kB / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01036, allocations: 0 / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.01043, allocations: 11.94 kB / 295.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01045, allocations: 11.94 kB / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01045, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.01046, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01047, allocations: 4 kB / 295.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01047, allocations: 4 kB / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.01065, allocations: 163.8 kB / 295.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01067, allocations: 3.984 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.01076, allocations: 12 kB / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.01081, allocations: 15.97 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01082, allocations: 0 / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.01085, allocations: 27.03 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01085, allocations: 3.938 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.01105, allocations: 19.94 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001184/0.01117, allocations: 89.3 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01129, allocations: 40.84 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.0113, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.01135, allocations: 32.78 kB / 296 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.01161, allocations: 20.86 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.01245, allocations: 245 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.0125, allocations: 59.34 kB / 296.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.01254, allocations: 12.72 kB / 296.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.01262, allocations: 55.38 kB / 296.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01262, allocations: 4 kB / 296.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Templates: time 0.004349/0.01697, allocations: 1.357 MB / 297.8 MB, free: 0.8672 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.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.0401742169633508]