Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001945/0.001945, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.001856/0.001856, allocations: 167.9 kB / 23.96 MB, free: 4.148 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.505/1.505, allocations: 177.1 MB / 204.2 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.927e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002865/0.002894, allocations: 1.626 MB / 444.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004076, allocations: 0.5608 MB / 444.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.004182, allocations: 7.938 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.004302, allocations: 11.86 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.004355, allocations: 11.88 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.004712, allocations: 99.67 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.004913, allocations: 115.7 kB / 445.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.005039, allocations: 19.98 kB / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.005154, allocations: 63.88 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.005233, allocations: 27.91 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.005263, allocations: 8 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.005281, allocations: 8 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.005315, allocations: 19.91 kB / 445.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.005362, allocations: 27.92 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.00553, allocations: 91.67 kB / 445.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005533, allocations: 4 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005534, allocations: 0 / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.005544, allocations: 0 / 445.4 MB, free: 2.688 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.0007276/0.006272, allocations: 354.7 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.006309, allocations: 8.031 kB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.006357, allocations: 12.89 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.006603, allocations: 149.6 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.006617, allocations: 8.312 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.006655, allocations: 8.375 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.006954, allocations: 98.2 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.006965, allocations: 4.125 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.006983, allocations: 12.31 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.006994, allocations: 3.938 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.007168, allocations: 51.95 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.007846, allocations: 304.2 kB / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.008209, allocations: 98.52 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.008332, allocations: 36.91 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.008341, allocations: 0 / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.008621, allocations: 103.3 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.008622, allocations: 0 / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004825/0.009104, allocations: 137.5 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.009158, allocations: 55.41 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.009286, allocations: 138.1 kB / 446.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.009314, allocations: 33.7 kB / 446.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.009395, allocations: 100.3 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.009422, allocations: 15.97 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.009476, allocations: 29.7 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.009634, allocations: 322.8 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.009774, allocations: 35.97 kB / 447.4 MB, free: 444 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.009915, allocations: 57.62 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.01015, allocations: 69.69 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01015, allocations: 0 / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003294/0.01048, allocations: 129.7 kB / 447.7 MB, free: 168 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.0105, allocations: 4 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0105, allocations: 4 kB / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01052, allocations: 0 / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01062, allocations: 19.92 kB / 447.7 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01063, allocations: 0 / 447.7 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.01073, allocations: 15.94 kB / 447.7 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.01074, allocations: 8.031 kB / 447.7 MB, free: 116 kB / 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.1816/0.1923, allocations: 120.3 kB / 447.8 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1924, allocations: 5.875 kB / 447.9 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.1924, allocations: 14.05 kB / 447.9 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1924, allocations: 0.9688 kB / 447.9 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1924, allocations: 3.984 kB / 447.9 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1924, allocations: 1.031 kB / 447.9 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.193, allocations: 330.8 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.193, allocations: 0 / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.1931, allocations: 22.34 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1931, allocations: 1.844 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1931, allocations: 0 / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1931, allocations: 1.5 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1931, allocations: 4.359 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1935, allocations: 250.6 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.1935, allocations: 5.969 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1936, allocations: 1.5 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1937, allocations: 24.69 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.1938, allocations: 12.7 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1938, allocations: 6.859 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.1939, allocations: 105.4 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 1.375 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1941, allocations: 20.34 kB / 448.6 MB, free: 18.7 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 8.688e-05/0.1942, allocations: 97.67 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1945, allocations: 78.62 kB / 448.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1945, allocations: 0 / 448.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1946, allocations: 46.73 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.195, allocations: 16.86 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.1959, allocations: 270.6 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.501e-05/0.196, allocations: 81.92 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.196, allocations: 8.156 kB / 449.2 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.1961, allocations: 18.75 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1961, allocations: 5.031 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of Templates: time 0.004124/0.2002, allocations: 1.24 MB / 450.5 MB, free: 18.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.9739378578960896]