Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.0006779/0.0006779, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009071/0.001585, 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.000668/0.000668, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008227/0.001491, 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 0.9797/0.9797, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09727/1.077, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2641/0.2641, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02485/0.2889, allocations: 13.23 MB / 292.6 MB, free: 6.457 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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.425e-05, allocations: 3.078 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.001789/0.001803, allocations: 1.714 MB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000552/0.002355, allocations: 0.5063 MB / 296.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.00242, allocations: 3.938 kB / 296.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.794e-05/0.002478, allocations: 11.86 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.002514, allocations: 19.86 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.165e-05/0.002606, allocations: 31.91 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.002724, allocations: 79.7 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.002809, allocations: 20.22 kB / 296.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.002884, allocations: 51.83 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.002941, allocations: 23.91 kB / 296.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.00296, allocations: 8 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.00297, allocations: 8 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.002987, allocations: 11.94 kB / 296.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.003016, allocations: 19.94 kB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003124, allocations: 51.75 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.92e-05/0.003143, allocations: 4 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003143, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.003161, allocations: 0 / 296.4 MB, free: 2.617 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004125/0.003574, allocations: 305.5 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.003605, allocations: 12.92 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.003642, allocations: 16.92 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.00377, allocations: 122.3 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.003789, allocations: 12.36 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.003805, allocations: 8.375 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.003892, allocations: 70.88 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.003899, allocations: 192 / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.003908, allocations: 12.31 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.003913, allocations: 3.938 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.003946, allocations: 15.98 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.004218, allocations: 224 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.004278, allocations: 26.58 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.004293, allocations: 12.84 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.0043, allocations: 3.938 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/0.00438, allocations: 63.38 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.004381, allocations: 0 / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001035/0.004485, allocations: 57.91 kB / 297.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.00452, allocations: 55.41 kB / 297.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.004587, allocations: 127.6 kB / 297.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.0046, allocations: 33.7 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.004638, allocations: 104.2 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.004656, allocations: 11.98 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.00469, allocations: 29.69 kB / 297.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.004767, allocations: 330.8 kB / 298 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.004778, allocations: 4 kB / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.0048, allocations: 30.56 kB / 298.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.004841, allocations: 46.55 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.004845, allocations: 4 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.305e-05/0.004908, allocations: 65.62 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.00492, allocations: 7.984 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.004925, allocations: 0 / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.004934, allocations: 4 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.00499, allocations: 8 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.004993, allocations: 0 / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.00502, allocations: 4 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.005026, allocations: 8 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,fallingEdge.not_u,$PRE.fallingEdge.not_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 6.702e-05/0.005093, allocations: 124.2 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.005102, allocations: 12.06 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.005125, allocations: 12.38 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005127, allocations: 0 / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.005128, allocations: 0 / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.005133, allocations: 7.984 kB / 298.4 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.005312, allocations: 214.7 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005313, allocations: 3.938 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.005344, allocations: 7.984 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.005352, allocations: 11.94 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.005353, allocations: 0 / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00536, allocations: 4 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005361, allocations: 8 kB / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005362, allocations: 0 / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.005469, allocations: 151.5 kB / 298.8 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.005484, allocations: 11.98 kB / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.005526, allocations: 0 / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.005562, allocations: 7.984 kB / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.005567, allocations: 0 / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.005606, allocations: 29.95 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005606, allocations: 4 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.005794, allocations: 15.94 kB / 298.8 MB, free: 15.97 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,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_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.005e-05/0.005874, allocations: 77.16 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.657e-05/0.005951, allocations: 41.62 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.005954, allocations: 0 / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.005983, allocations: 24.83 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.00613, allocations: 22.17 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.006515, allocations: 193.3 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.006548, allocations: 63.34 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.006573, allocations: 8.125 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.006623, allocations: 63.36 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.006624, allocations: 3.938 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Templates: time 0.002375/0.008998, allocations: 0.9641 MB / 300.3 MB, free: 14.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.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.901611835695803]