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.001556/0.001556, allocations: 109.1 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001777/0.001777, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2386/0.2386, allocations: 46.93 MB / 361.5 MB, free: 4.18 MB / 286.1 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 0.002431/0.002431, allocations: 83.84 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3335, allocations: 66.08 MB / 0.5619 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003501/0.337, allocations: 1.922 MB / 0.5638 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3391, allocations: 1.212 MB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3392, allocations: 3.938 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.3399, allocations: 191.4 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.3403, allocations: 171.3 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.3407, allocations: 171 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.3411, allocations: 279.3 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3412, allocations: 21.8 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3414, allocations: 119.6 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3415, allocations: 123.5 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.3416, allocations: 16.05 kB / 0.5661 GB, free: 16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3417, allocations: 67.92 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.3418, allocations: 63.81 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.342, allocations: 111.4 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.3424, allocations: 293.2 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3424, allocations: 7.984 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3424, allocations: 4 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3424, allocations: 0 / 0.5666 GB, free: 15.47 MB / 414.1 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.001025/0.3434, allocations: 0.5894 MB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3435, allocations: 11.97 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.3435, allocations: 32.73 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.3439, allocations: 225.5 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.3441, allocations: 170.8 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3441, allocations: 16.38 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.3444, allocations: 161.1 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3445, allocations: 0 / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.3445, allocations: 8 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3445, allocations: 7.984 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.3447, allocations: 83.94 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.3456, allocations: 0.5898 MB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.3459, allocations: 151.9 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3461, allocations: 78.47 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3461, allocations: 0 / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.3466, allocations: 437.1 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.192e-06/0.3466, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008466/0.3475, allocations: 442.8 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.3476, allocations: 213.6 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.348, allocations: 337.8 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.348, allocations: 33.7 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3481, allocations: 136.6 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.3482, allocations: 55.59 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.3483, allocations: 45.7 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3484, allocations: 338.8 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3486, allocations: 63.95 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3488, allocations: 142.3 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.3492, allocations: 366.5 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3492, allocations: 0 / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005536/0.3498, allocations: 350.6 kB / 0.5715 GB, free: 9.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.3498, allocations: 99.28 kB / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3498, allocations: 3.938 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3499, allocations: 4 kB / 0.5716 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.35, allocations: 23.92 kB / 0.5716 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.35, allocations: 4 kB / 0.5716 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.3501, allocations: 32.09 kB / 0.5716 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3501, allocations: 12 kB / 0.5716 GB, free: 9.738 MB / 414.1 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.0002451/0.3504, allocations: 261.7 kB / 0.5719 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.3504, allocations: 31.86 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.3508, allocations: 205.1 kB / 0.5721 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3508, allocations: 7.938 kB / 0.5721 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3508, allocations: 4 kB / 0.5721 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3508, allocations: 7.938 kB / 0.5721 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3511, allocations: 272.4 kB / 0.5724 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3511, allocations: 4 kB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.3511, allocations: 4 kB / 0.5724 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3511, allocations: 0 / 0.5724 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.3511, allocations: 15.92 kB / 0.5724 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3511, allocations: 0 / 0.5724 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3511, allocations: 4 kB / 0.5724 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.3518, allocations: 451.5 kB / 0.5728 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.3519, allocations: 23.84 kB / 0.5729 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.3519, allocations: 19.88 kB / 0.5729 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.352, allocations: 15.98 kB / 0.5729 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.3521, allocations: 19.97 kB / 0.5729 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3521, allocations: 12.19 kB / 0.5729 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.3524, allocations: 245.2 kB / 0.5732 GB, free: 8.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3524, allocations: 0 / 0.5732 GB, free: 8.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.3527, allocations: 67.89 kB / 0.5732 GB, free: 7.969 MB / 414.1 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 (14): * Single equations (assignments): 9 * 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.001522/0.3542, allocations: 436.7 kB / 0.5736 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.3548, allocations: 357.4 kB / 0.574 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3548, allocations: 0 / 0.574 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.3551, allocations: 274.1 kB / 0.5742 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3555, allocations: 57.31 kB / 0.5743 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.3563, allocations: 490.8 kB / 0.5748 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.3568, allocations: 0.7558 MB / 0.5755 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.3568, allocations: 23.42 kB / 0.5755 GB, free: 5.605 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3568, allocations: 0 / 0.5755 GB, free: 5.605 MB / 414.1 MB Notification: Performance of Templates: time 0.007201/0.364, allocations: 3.597 MB / 0.579 GB, free: 2.016 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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: 8.136628441978246]