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.001603/0.001603, allocations: 88.22 kB / 20.21 MB, free: 4.223 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.001585/0.001585, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.503/1.503, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2245/0.2245, allocations: 32.38 MB / 270 MB, free: 14.77 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 1.853e-06/1.853e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.598e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002287/0.002313, allocations: 1.612 MB / 348.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.003218, allocations: 0.5696 MB / 349.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.003307, allocations: 7.938 kB / 349.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.003449, allocations: 11.86 kB / 349.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.00351, allocations: 15.86 kB / 349.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.003826, allocations: 91.73 kB / 349.2 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.003964, allocations: 111.7 kB / 349.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004069, allocations: 31.88 kB / 349.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.004164, allocations: 67.83 kB / 349.4 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.00422, allocations: 31.88 kB / 349.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.004242, allocations: 8 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.004256, allocations: 11.94 kB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.004277, allocations: 15.98 kB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.004319, allocations: 23.92 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004458, allocations: 99.62 kB / 349.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004461, allocations: 3.984 kB / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004461, allocations: 0 / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004466, allocations: 0 / 349.6 MB, free: 7.098 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.0005313/0.004997, allocations: 354.7 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.005027, allocations: 8.031 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.00508, allocations: 16.84 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.005266, allocations: 142.6 kB / 350.1 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.005285, allocations: 8.375 kB / 350.1 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.005311, allocations: 12.38 kB / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.005566, allocations: 99.75 kB / 350.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.005577, allocations: 4.188 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.005592, allocations: 12.3 kB / 350.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005596, allocations: 3.938 kB / 350.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.005741, allocations: 47.97 kB / 350.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.006274, allocations: 316.2 kB / 350.6 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.006585, allocations: 98.55 kB / 350.7 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.006685, allocations: 32.88 kB / 350.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.006699, allocations: 0 / 350.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.006906, allocations: 99.36 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.006907, allocations: 3.938 kB / 350.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004344/0.007341, allocations: 141.5 kB / 351 MB, free: 5.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.007369, allocations: 55.41 kB / 351 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.00745, allocations: 137.3 kB / 351.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.007463, allocations: 29.7 kB / 351.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.0075, allocations: 104.3 kB / 351.3 MB, free: 5.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.00752, allocations: 23.97 kB / 351.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.007558, allocations: 25.7 kB / 351.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.007605, allocations: 326.8 kB / 351.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.007717, allocations: 31.98 kB / 351.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.007827, allocations: 53.62 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.008011, allocations: 77.67 kB / 351.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.008013, allocations: 0 / 351.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002459/0.008259, allocations: 121.7 kB / 352 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.008271, allocations: 8.031 kB / 352 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008275, allocations: 0 / 352 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.008293, allocations: 0 / 352 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.008389, allocations: 19.92 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.008395, allocations: 4 kB / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.008481, allocations: 19.94 kB / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.008487, allocations: 0 / 352 MB, free: 4.527 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 6.397e-05/0.008551, allocations: 121.8 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.00857, allocations: 15.94 kB / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.008604, allocations: 16.78 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008605, allocations: 0 / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.00861, allocations: 0 / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.008613, allocations: 0 / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.008996, allocations: 330.4 kB / 352.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008997, allocations: 0 / 352.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.009077, allocations: 15.98 kB / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009079, allocations: 0 / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.009089, allocations: 0 / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009091, allocations: 4 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009092, allocations: 4 kB / 352.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.009482, allocations: 259.3 kB / 352.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.009496, allocations: 11.88 kB / 352.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.009515, allocations: 4.031 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.009649, allocations: 23.97 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.0097, allocations: 15.91 kB / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.009707, allocations: 0 / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.009746, allocations: 103.3 kB / 352.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009746, allocations: 4.062 kB / 352.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.009979, allocations: 19.95 kB / 352.9 MB, free: 3.539 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 5.923e-05/0.01004, allocations: 91.25 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.0103, allocations: 87.91 kB / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0103, allocations: 0 / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01042, allocations: 43.98 kB / 353.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.01072, allocations: 19.98 kB / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.01116, allocations: 223.2 kB / 353.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.01121, allocations: 89.44 kB / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.01125, allocations: 4.734 kB / 353.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.01129, allocations: 16.5 kB / 353.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01129, allocations: 0 / 353.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of Templates: time 0.003711/0.015, allocations: 1.28 MB / 354.8 MB, free: 1.652 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.881911957054399]