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.001262/0.001262, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001351/0.001351, allocations: 163.4 kB / 23.96 MB, free: 4.164 MB / 14.72 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.361/1.361, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 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.1925/0.1925, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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.152e-06/1.152e-06, allocations: 3.938 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.054e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002606/0.002627, allocations: 1.623 MB / 441.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003714, allocations: 0.5609 MB / 442.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.003811, allocations: 4 kB / 442.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.003915, allocations: 7.875 kB / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.003983, allocations: 23.78 kB / 442.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.004353, allocations: 83.77 kB / 442.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004547, allocations: 111.7 kB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.00466, allocations: 23.97 kB / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.004784, allocations: 63.88 kB / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.004859, allocations: 31.89 kB / 442.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.004891, allocations: 15.94 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.00491, allocations: 8 kB / 442.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.00495, allocations: 19.92 kB / 442.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.004997, allocations: 27.91 kB / 442.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.005165, allocations: 95.61 kB / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005167, allocations: 0 / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005167, allocations: 0 / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.005175, allocations: 0 / 442.8 MB, free: 5.477 MB / 366.1 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.0006302/0.005805, allocations: 350.8 kB / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.005841, allocations: 12.03 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.005878, allocations: 8.891 kB / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.006104, allocations: 152.5 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.006159, allocations: 4.359 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.006186, allocations: 12.38 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.006473, allocations: 102.2 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.006482, allocations: 4.188 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.006496, allocations: 4.375 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006502, allocations: 3.938 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.006665, allocations: 47.97 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.007307, allocations: 312.2 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.007677, allocations: 98.45 kB / 443.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.007798, allocations: 36.92 kB / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.007811, allocations: 0 / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.008063, allocations: 95.36 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.008064, allocations: 0 / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004628/0.008527, allocations: 145.6 kB / 444.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.008575, allocations: 55.34 kB / 444.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.008695, allocations: 134.1 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.008731, allocations: 37.69 kB / 444.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.008794, allocations: 96.33 kB / 444.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.008819, allocations: 27.84 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.008868, allocations: 25.72 kB / 444.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.009027, allocations: 322.8 kB / 444.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.009154, allocations: 39.97 kB / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.009283, allocations: 49.7 kB / 444.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.009508, allocations: 77.61 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.00951, allocations: 0 / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003071/0.009817, allocations: 117.5 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.009831, allocations: 8 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.009835, allocations: 0 / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.009847, allocations: 0 / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.009947, allocations: 20.02 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.009951, allocations: 0 / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.01005, allocations: 19.94 kB / 445.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.01005, allocations: 0 / 445.1 MB, free: 2.918 MB / 366.1 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,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$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 0.0001142/0.01017, allocations: 136.9 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.01019, allocations: 7.953 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.01022, allocations: 8.781 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01023, allocations: 3.984 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01023, allocations: 4 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.01024, allocations: 4.281 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.01074, allocations: 330.1 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01074, allocations: 0 / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.01083, allocations: 19.86 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01083, allocations: 0 / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01084, allocations: 8 kB / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01084, allocations: 0 / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01084, allocations: 0 / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.01133, allocations: 243.4 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.01135, allocations: 8.016 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01137, allocations: 12.02 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.01151, allocations: 15.98 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.01157, allocations: 23.84 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01158, allocations: 4 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.571e-05/0.01165, allocations: 103.2 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01165, allocations: 3.938 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000235/0.01189, allocations: 19.95 kB / 446.1 MB, free: 1.918 MB / 366.1 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,change.u,booleanPulse.pulseStart) * 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.0001081/0.012, allocations: 95.25 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.01229, allocations: 83.92 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0123, allocations: 0 / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01243, allocations: 39.92 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01272, allocations: 25.33 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.01366, allocations: 273.5 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.372e-05/0.01374, allocations: 89.44 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.01378, allocations: 4.734 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.01382, allocations: 12.5 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.01382, allocations: 0 / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of Templates: time 0.003949/0.01777, allocations: 1.247 MB / 447.9 MB, free: 24 kB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.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.373355749994516]