Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008992/0.0008992, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.0009222/0.0009222, allocations: 168.6 kB / 24.84 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9703/0.9703, allocations: 158.6 MB / 186.7 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1953/0.1953, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.135e-05, allocations: 5.406 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00249/0.002521, allocations: 1.654 MB / 350.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.003325, allocations: 0.589 MB / 351.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.003419, allocations: 0 / 351.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.00355, allocations: 11.81 kB / 351.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.003599, allocations: 15.86 kB / 351.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.003931, allocations: 87.7 kB / 351.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.004248, allocations: 119.7 kB / 351.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.004369, allocations: 23.89 kB / 351.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004476, allocations: 67.86 kB / 351.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.004543, allocations: 27.91 kB / 351.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.004568, allocations: 8 kB / 351.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.004582, allocations: 8 kB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.004608, allocations: 23.91 kB / 351.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.00464, allocations: 23.92 kB / 351.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.004767, allocations: 79.66 kB / 351.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004771, allocations: 0 / 351.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004772, allocations: 0 / 351.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.004779, allocations: 0 / 351.6 MB, free: 6.438 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.0004795/0.005258, allocations: 443.9 kB / 352.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.005294, allocations: 11.97 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.005334, allocations: 20.89 kB / 352.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.005493, allocations: 148.4 kB / 352.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.005512, allocations: 8.375 kB / 352.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.00553, allocations: 8.328 kB / 352.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005668, allocations: 90.92 kB / 352.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.005678, allocations: 192 / 352.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005688, allocations: 384 / 352.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005694, allocations: 3.938 kB / 352.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.005727, allocations: 19.97 kB / 352.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.006072, allocations: 332.1 kB / 352.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.006179, allocations: 59.02 kB / 352.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.006198, allocations: 15.72 kB / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.006207, allocations: 0 / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.823e-05/0.006305, allocations: 73.03 kB / 352.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.006306, allocations: 0 / 352.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001501/0.006456, allocations: 73.62 kB / 352.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.006482, allocations: 59.34 kB / 353 MB, free: 4.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.006544, allocations: 193.5 kB / 353.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.006554, allocations: 29.7 kB / 353.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.006595, allocations: 159.1 kB / 353.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.006614, allocations: 11.89 kB / 353.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.00665, allocations: 35.34 kB / 353.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.006708, allocations: 0.4961 MB / 353.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.006725, allocations: 8 kB / 353.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.006751, allocations: 31.36 kB / 353.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.006793, allocations: 39.3 kB / 354 MB, free: 3.895 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006795, allocations: 0 / 354 MB, free: 3.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.227e-05/0.006877, allocations: 77.8 kB / 354 MB, free: 3.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.00689, allocations: 8 kB / 354 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006895, allocations: 4 kB / 354 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006907, allocations: 3.984 kB / 354 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.00698, allocations: 8 kB / 354.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.006985, allocations: 7.938 kB / 354.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.007018, allocations: 11.94 kB / 354.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007025, allocations: 4 kB / 354.1 MB, free: 3.766 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,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 7.858e-05/0.007103, allocations: 168.5 kB / 354.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.007117, allocations: 11.95 kB / 354.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.007144, allocations: 12.78 kB / 354.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007148, allocations: 4 kB / 354.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007149, allocations: 0 / 354.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.007155, allocations: 3.984 kB / 354.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.007388, allocations: 313.9 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.00739, allocations: 3.984 kB / 354.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.007438, allocations: 8 kB / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.00744, allocations: 0 / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007448, allocations: 0 / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007449, allocations: 4 kB / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.007452, allocations: 4 kB / 354.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.007574, allocations: 232.2 kB / 354.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.007585, allocations: 7.953 kB / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007597, allocations: 0 / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.007646, allocations: 11.98 kB / 354.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.007687, allocations: 19.91 kB / 354.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.007692, allocations: 0 / 354.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.902e-05/0.007722, allocations: 143.2 kB / 355 MB, free: 2.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007722, allocations: 4.031 kB / 355 MB, free: 2.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.007873, allocations: 19.95 kB / 355 MB, free: 2.754 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,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 9.016e-05/0.007963, allocations: 103.2 kB / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.008083, allocations: 43.64 kB / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.008085, allocations: 0 / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.008122, allocations: 23.67 kB / 355.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.008347, allocations: 22.33 kB / 355.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.008666, allocations: 221.2 kB / 355.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.45e-05/0.008691, allocations: 59.34 kB / 355.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.008722, allocations: 16.66 kB / 355.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.008775, allocations: 82.2 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.008776, allocations: 3.938 kB / 355.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of Templates: time 0.003046/0.01182, allocations: 1.43 MB / 357 MB, free: 0.7109 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.258069726638496]