Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 85.17 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 167.4 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.217/0.217, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.471e-05, allocations: 6.219 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003302/0.003327, allocations: 1.885 MB / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.005417, allocations: 1.122 MB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.005515, allocations: 3.938 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.006194, allocations: 195.3 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.006623, allocations: 167.2 kB / 446 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.007043, allocations: 174.2 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.007429, allocations: 283.2 kB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.007528, allocations: 21.8 kB / 446.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.00774, allocations: 155.6 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.007911, allocations: 99.75 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.007951, allocations: 16 kB / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.00811, allocations: 75.88 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.00821, allocations: 63.77 kB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.008319, allocations: 75.83 kB / 447 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.008734, allocations: 303 kB / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.008737, allocations: 0 / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008737, allocations: 0 / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.008742, allocations: 0 / 447.3 MB, free: 0.7656 MB / 366.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.000973/0.009715, allocations: 0.5894 MB / 447.9 MB, free: 124 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.00975, allocations: 12.03 kB / 447.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.009833, allocations: 32.75 kB / 447.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2264/0.2363, allocations: 213.7 kB / 448.1 MB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.2364, allocations: 174.2 kB / 448.3 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.2365, allocations: 15.75 kB / 448.3 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.2369, allocations: 238.8 kB / 448.5 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2369, allocations: 3.094 kB / 448.5 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.2369, allocations: 4.031 kB / 448.5 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2369, allocations: 6 kB / 448.5 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2372, allocations: 188.6 kB / 448.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.2381, allocations: 0.5177 MB / 449.2 MB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.2384, allocations: 248.8 kB / 449.5 MB, free: 18.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2386, allocations: 157.5 kB / 449.6 MB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2387, allocations: 6.953 kB / 449.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/0.2391, allocations: 0.5178 MB / 450.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.394e-06/0.2391, allocations: 0 / 450.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009835/0.2401, allocations: 0.6142 MB / 450.8 MB, free: 17.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.2402, allocations: 188.8 kB / 451 MB, free: 17.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.2405, allocations: 334.1 kB / 451.3 MB, free: 17.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2406, allocations: 33.92 kB / 451.3 MB, free: 16.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.2407, allocations: 138.2 kB / 451.5 MB, free: 16.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.2407, allocations: 55.06 kB / 451.5 MB, free: 16.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.2408, allocations: 52.23 kB / 451.6 MB, free: 16.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2408, allocations: 336.4 kB / 451.9 MB, free: 16.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.241, allocations: 153.1 kB / 452 MB, free: 16.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.2412, allocations: 252.4 kB / 452.3 MB, free: 16.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.2416, allocations: 370.7 kB / 452.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2416, allocations: 3.469 kB / 452.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005343/0.2421, allocations: 442.7 kB / 453.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.2422, allocations: 96.94 kB / 453.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2422, allocations: 6.406 kB / 453.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2422, allocations: 7.266 kB / 453.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2423, allocations: 17.31 kB / 453.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2423, allocations: 8.703 kB / 453.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2425, allocations: 26.31 kB / 453.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2425, allocations: 10.78 kB / 453.3 MB, free: 15.36 MB / 366.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.0001894/0.2427, allocations: 265.9 kB / 453.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.2427, allocations: 29.69 kB / 453.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.2431, allocations: 241 kB / 453.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2431, allocations: 4.484 kB / 453.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2431, allocations: 0 / 453.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2431, allocations: 1.938 kB / 453.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2433, allocations: 209.8 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2433, allocations: 4.75 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.2434, allocations: 11.95 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2434, allocations: 1.375 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.2434, allocations: 8.328 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2434, allocations: 6.031 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2434, allocations: 5.312 kB / 454 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.244, allocations: 0.5371 MB / 454.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.2441, allocations: 25.56 kB / 454.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.2441, allocations: 13.44 kB / 454.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2443, allocations: 14.53 kB / 454.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.2443, allocations: 27.8 kB / 454.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.2444, allocations: 15.16 kB / 454.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.2446, allocations: 246.3 kB / 454.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2446, allocations: 1.094 kB / 454.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000362/0.245, allocations: 60.47 kB / 455 MB, free: 14.25 MB / 366.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 (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.001686/0.2467, allocations: 471.6 kB / 455.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007115/0.2474, allocations: 0.5314 MB / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2474, allocations: 0 / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.2477, allocations: 363.1 kB / 456.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.2481, allocations: 54.11 kB / 456.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.2491, allocations: 0.5496 MB / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2492, allocations: 156.6 kB / 457.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2493, allocations: 28.34 kB / 457.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.2494, allocations: 26.92 kB / 457.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.2494, allocations: 0 / 457.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.009221/0.2586, allocations: 3.632 MB / 460.7 MB, free: 12.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.16269501671195]