Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008904/0.0008904, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002235, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007134/0.0007134, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001818, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09051/1.128, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2448/0.2448, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02478/0.2696, allocations: 13.24 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.568e-05, allocations: 2.312 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001787/0.001803, allocations: 1.722 MB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.002456, allocations: 0.5841 MB / 296.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.002522, allocations: 0 / 296.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.002578, allocations: 19.8 kB / 296.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.002617, allocations: 15.86 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.002809, allocations: 95.62 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.002931, allocations: 103.8 kB / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.003025, allocations: 31.91 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003134, allocations: 71.88 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.003189, allocations: 27.89 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.00321, allocations: 8 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.003221, allocations: 8 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.00324, allocations: 15.94 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.003268, allocations: 19.94 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003371, allocations: 55.77 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.003384, allocations: 0 / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003384, allocations: 7.938 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.003398, allocations: 0 / 296.6 MB, free: 2.41 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.0004397/0.003838, allocations: 317.4 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.003868, allocations: 12.92 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.003898, allocations: 12.92 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.004042, allocations: 141.6 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.004091, allocations: 8.312 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.004109, allocations: 8.375 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.004233, allocations: 94.91 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.00424, allocations: 192 / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.004248, allocations: 4.375 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.004255, allocations: 7.938 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.00429, allocations: 15.98 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.004571, allocations: 228 kB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.474e-05/0.004656, allocations: 46.55 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.004672, allocations: 12.86 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.004679, allocations: 7.938 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.429e-05/0.004773, allocations: 67.36 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.004774, allocations: 0 / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001135/0.004887, allocations: 61.67 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.004932, allocations: 55.41 kB / 297.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.004999, allocations: 136.4 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.00501, allocations: 29.7 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.005355, allocations: 100.3 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.005375, allocations: 23.92 kB / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.005409, allocations: 29.69 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.00548, allocations: 318.8 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.005495, allocations: 11.98 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.005517, allocations: 25.72 kB / 298.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.005554, allocations: 38.56 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005556, allocations: 0 / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.235e-05/0.005618, allocations: 65.61 kB / 298.5 MB, free: 408 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.005633, allocations: 8 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005637, allocations: 0 / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.005645, allocations: 0 / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.005711, allocations: 19.92 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005714, allocations: 0 / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.005744, allocations: 12 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.005748, allocations: 0 / 298.5 MB, free: 368 kB / 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 5.848e-05/0.005806, allocations: 128.2 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.005815, allocations: 12.03 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.005839, allocations: 12.77 kB / 298.7 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.005864, allocations: 3.984 kB / 298.7 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005866, allocations: 0 / 298.7 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.00587, allocations: 4 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.006069, allocations: 227 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006071, allocations: 0 / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.006116, allocations: 11.94 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.006126, allocations: 7.953 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006129, allocations: 3.984 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.006137, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006138, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006139, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.00626, allocations: 167.5 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.006271, allocations: 0 / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.006322, allocations: 15.98 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.006364, allocations: 11.97 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.006369, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.19e-05/0.006391, allocations: 35.16 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006391, allocations: 4.031 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.00651, allocations: 12 kB / 299.2 MB, free: 15.66 MB / 298.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 7.807e-05/0.006588, allocations: 82.22 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.006674, allocations: 36.78 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.006679, allocations: 4 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.006716, allocations: 24.78 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.006875, allocations: 24.31 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.007402, allocations: 245.3 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.007438, allocations: 67.28 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.007467, allocations: 8.719 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.007687, allocations: 59.38 kB / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.007688, allocations: 4 kB / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of Templates: time 0.003049/0.01074, allocations: 1.345 MB / 301 MB, free: 13.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8530992288142443]