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.001019/0.001019, allocations: 84.25 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009609/0.0009609, allocations: 168.7 kB / 25.61 MB, free: 8.477 MB / 18.57 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.012/1.012, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.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.1597/0.1597, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.222e-06/1.222e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.859e-05, allocations: 2.312 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002306/0.002335, allocations: 1.668 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.003096, allocations: 0.5646 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.003177, allocations: 0 / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.003286, allocations: 11.81 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.00333, allocations: 27.78 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.003605, allocations: 83.77 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.003726, allocations: 115.7 kB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003826, allocations: 23.97 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.003908, allocations: 59.83 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.003971, allocations: 31.88 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.003991, allocations: 8 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.004002, allocations: 8 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.00403, allocations: 23.92 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.004063, allocations: 31.91 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.004175, allocations: 67.73 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004178, allocations: 0 / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004179, allocations: 0 / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.004183, allocations: 0 / 382.7 MB, free: 20.04 MB / 314.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.0004341/0.004617, allocations: 443.9 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.004661, allocations: 8.031 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.0047, allocations: 16.84 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.004854, allocations: 152.4 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.004878, allocations: 8.375 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.004906, allocations: 8.375 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.005054, allocations: 86.91 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005062, allocations: 192 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005072, allocations: 4.375 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005079, allocations: 7.938 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.005117, allocations: 21.61 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.005481, allocations: 328 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.005584, allocations: 66.95 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.005603, allocations: 11.72 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.005613, allocations: 4 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.729e-05/0.005701, allocations: 77.06 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005702, allocations: 0 / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001429/0.005845, allocations: 81.56 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.005876, allocations: 55.39 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.005941, allocations: 187.7 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.005951, allocations: 29.7 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.005993, allocations: 155.1 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.006013, allocations: 15.91 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.006045, allocations: 35.34 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.006105, allocations: 0.4922 MB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.006121, allocations: 7.984 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.006146, allocations: 39.34 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.006183, allocations: 35.31 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006184, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.456e-05/0.006259, allocations: 81.7 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.006272, allocations: 4 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.006277, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.006287, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.006349, allocations: 19.92 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.006353, allocations: 0 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.006386, allocations: 15.98 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.006391, allocations: 0 / 385.2 MB, free: 17.36 MB / 314.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.012e-05/0.006451, allocations: 172.5 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.006462, allocations: 7.953 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.006488, allocations: 12.78 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006489, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006491, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006495, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.006699, allocations: 329.8 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.0067, allocations: 4 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.006743, allocations: 11.98 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006745, allocations: 4 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006753, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006753, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006754, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.006884, allocations: 239.7 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.006893, allocations: 3.953 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.006907, allocations: 4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.006955, allocations: 12.02 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.007002, allocations: 19.97 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.007007, allocations: 0 / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.925e-05/0.007037, allocations: 135.2 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007037, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.007182, allocations: 19.95 kB / 386.1 MB, free: 16.34 MB / 314.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 7.984e-05/0.007262, allocations: 95.19 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.431e-05/0.007357, allocations: 51.58 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007358, allocations: 64 / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.007395, allocations: 23.69 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.007605, allocations: 22.52 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.008051, allocations: 248.5 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.809e-05/0.008079, allocations: 59.34 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.00811, allocations: 12.73 kB / 386.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.008172, allocations: 86.19 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.008173, allocations: 0 / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Templates: time 0.002817/0.01099, allocations: 1.399 MB / 388.1 MB, free: 14.32 MB / 314.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 -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: 3.3373323380947113]