Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.0007663/0.0007663, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009773/0.001744, 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.0006851/0.0006851, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009566/0.001642, 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.9882/0.9882, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09493/1.083, allocations: 53.87 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.2638/0.2638, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02473/0.2885, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.554e-05, allocations: 3.078 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003291/0.003317, allocations: 1.977 MB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005425, allocations: 1.194 MB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.00555, allocations: 0 / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.006086, allocations: 171.4 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.00638, allocations: 195.1 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.006677, allocations: 155.5 kB / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.006939, allocations: 279.2 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.007034, allocations: 34.39 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.007228, allocations: 195.6 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.007357, allocations: 103.8 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.007385, allocations: 16 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.007523, allocations: 67.89 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.007595, allocations: 63.78 kB / 298.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.007653, allocations: 51.88 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.007911, allocations: 207.2 kB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-05/0.007928, allocations: 0 / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007929, allocations: 0 / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.007944, allocations: 4 kB / 298.5 MB, free: 0.4922 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006441/0.008588, allocations: 0.6045 MB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.00862, allocations: 8.922 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.00867, allocations: 36.91 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.008895, allocations: 201.5 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.008979, allocations: 174.8 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.008997, allocations: 16.38 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.009191, allocations: 231.2 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.009198, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.009209, allocations: 12 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.009215, allocations: 7.938 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.009304, allocations: 132.9 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.009689, allocations: 418.1 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.009902, allocations: 251.6 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.009986, allocations: 139.7 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.009999, allocations: 4 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.01027, allocations: 0.5095 MB / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.032e-06/0.01028, allocations: 0 / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003291/0.0106, allocations: 496.7 kB / 301.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.01068, allocations: 191.9 kB / 301.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.01084, allocations: 254.6 kB / 302.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01086, allocations: 33.7 kB / 302.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.0109, allocations: 109.1 kB / 302.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01094, allocations: 59.56 kB / 302.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.01099, allocations: 49.67 kB / 302.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.01107, allocations: 346.7 kB / 302.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.01114, allocations: 119.9 kB / 302.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/0.01124, allocations: 216.2 kB / 303.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.0114, allocations: 337 kB / 303.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0114, allocations: 0 / 303.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002104/0.01161, allocations: 346.4 kB / 303.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.01167, allocations: 99.58 kB / 303.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.01168, allocations: 4 kB / 303.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.01169, allocations: 4 kB / 303.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.01176, allocations: 19.94 kB / 303.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01177, allocations: 12.2 kB / 303.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.01184, allocations: 28.27 kB / 303.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.01185, allocations: 8 kB / 303.9 MB, free: 10.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001204/0.01197, allocations: 252.6 kB / 304.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.012, allocations: 35.97 kB / 304.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.01215, allocations: 176.4 kB / 304.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01215, allocations: 4 kB / 304.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01215, allocations: 0 / 304.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01216, allocations: 8 kB / 304.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.01228, allocations: 133.7 kB / 304.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01228, allocations: 4 kB / 304.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.0123, allocations: 8 kB / 304.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.01233, allocations: 27.81 kB / 304.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01233, allocations: 4 kB / 304.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01234, allocations: 11.92 kB / 304.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01234, allocations: 4 kB / 304.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01234, allocations: 0 / 304.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.01257, allocations: 430.4 kB / 305 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.01261, allocations: 20 kB / 305 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.01266, allocations: 15.98 kB / 305 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.01271, allocations: 23.91 kB / 305.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01273, allocations: 12 kB / 305.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.01279, allocations: 97.59 kB / 305.2 MB, free: 9.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01279, allocations: 0 / 305.2 MB, free: 9.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.01297, allocations: 64 kB / 305.2 MB, free: 8.965 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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 0.001193/0.01416, allocations: 0.5658 MB / 305.8 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01445, allocations: 497 kB / 306.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.01446, allocations: 4 kB / 306.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.01462, allocations: 352 kB / 306.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.01481, allocations: 88.39 kB / 306.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.01549, allocations: 0.5067 MB / 307.2 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.01553, allocations: 91.97 kB / 307.3 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.01559, allocations: 26.09 kB / 307.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.01573, allocations: 127.3 kB / 307.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01573, allocations: 0 / 307.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of Templates: time 0.005745/0.02148, allocations: 3.905 MB / 311.4 MB, free: 2.961 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.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.982967983931303]