Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 195.3 kB / 22.98 MB, free: 5.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 44.92 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.89 kB / 495.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4155, allocations: 64.26 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.00357/0.4191, allocations: 1.919 MB / 0.5482 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.4211, allocations: 1.055 MB / 0.5493 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.4212, allocations: 5.281 kB / 0.5493 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007916/0.422, allocations: 182.4 kB / 0.5495 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.4223, allocations: 133.9 kB / 0.5496 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.4229, allocations: 193.1 kB / 0.5498 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.4232, allocations: 269.6 kB / 0.55 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4233, allocations: 21.64 kB / 0.55 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.4235, allocations: 109.1 kB / 0.5501 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.4236, allocations: 122.6 kB / 0.5503 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.4237, allocations: 15.72 kB / 0.5503 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.4238, allocations: 73.86 kB / 0.5503 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-05/0.4239, allocations: 61.7 kB / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.424, allocations: 107.6 kB / 0.5505 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.4245, allocations: 284.8 kB / 0.5508 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4245, allocations: 0 / 0.5508 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4245, allocations: 0 / 0.5508 GB, free: 9.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4245, allocations: 0 / 0.5508 GB, free: 9.918 MB / 398.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.001139/0.4256, allocations: 0.6636 MB / 0.5514 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4256, allocations: 12.72 kB / 0.5514 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.575e-05/0.4257, allocations: 28.77 kB / 0.5515 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.4262, allocations: 279.9 kB / 0.5517 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4263, allocations: 95.84 kB / 0.5518 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.4263, allocations: 20.34 kB / 0.5518 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.4267, allocations: 155.3 kB / 0.552 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4267, allocations: 4 kB / 0.552 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.4267, allocations: 8.469 kB / 0.552 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4267, allocations: 2.125 kB / 0.552 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.427, allocations: 93.48 kB / 0.5521 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.4279, allocations: 0.6026 MB / 0.5527 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.4282, allocations: 148.2 kB / 0.5528 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.4284, allocations: 76.94 kB / 0.5529 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.4284, allocations: 2.203 kB / 0.5529 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.429, allocations: 442 kB / 0.5533 GB, free: 7.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.429, allocations: 0 / 0.5533 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001034/0.4301, allocations: 450.2 kB / 0.5538 GB, free: 7.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.4302, allocations: 220.3 kB / 0.554 GB, free: 6.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.4307, allocations: 315 kB / 0.5543 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.4307, allocations: 33.95 kB / 0.5543 GB, free: 6.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4309, allocations: 136 kB / 0.5544 GB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.122e-05/0.4309, allocations: 53.25 kB / 0.5545 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.431, allocations: 55.11 kB / 0.5545 GB, free: 6.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4312, allocations: 337.9 kB / 0.5549 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.4314, allocations: 57.97 kB / 0.5549 GB, free: 6.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.4317, allocations: 144.4 kB / 0.555 GB, free: 6.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.4321, allocations: 363.6 kB / 0.5554 GB, free: 5.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4321, allocations: 0 / 0.5554 GB, free: 5.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006008/0.4327, allocations: 350.8 kB / 0.5557 GB, free: 5.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.4329, allocations: 99.42 kB / 0.5558 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4329, allocations: 2.406 kB / 0.5558 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.4329, allocations: 7.781 kB / 0.5558 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.433, allocations: 19.62 kB / 0.5559 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.433, allocations: 7.016 kB / 0.5559 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.4332, allocations: 24.61 kB / 0.5559 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.4332, allocations: 10.94 kB / 0.5559 GB, free: 5.328 MB / 398.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.0003394/0.4336, allocations: 264.8 kB / 0.5561 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.4336, allocations: 37.7 kB / 0.5562 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.4341, allocations: 197.6 kB / 0.5564 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4341, allocations: 2.375 kB / 0.5564 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4341, allocations: 1.25 kB / 0.5564 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4341, allocations: 3.984 kB / 0.5564 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.4345, allocations: 287.9 kB / 0.5566 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4346, allocations: 1.062 kB / 0.5567 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.4346, allocations: 20.45 kB / 0.5567 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4346, allocations: 1.062 kB / 0.5567 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.4346, allocations: 15.41 kB / 0.5567 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4346, allocations: 5.125 kB / 0.5567 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4346, allocations: 1.094 kB / 0.5567 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.4354, allocations: 441.5 kB / 0.5571 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.4355, allocations: 108.9 kB / 0.5572 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.4355, allocations: 11.94 kB / 0.5572 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.4356, allocations: 23.98 kB / 0.5573 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.4357, allocations: 15.98 kB / 0.5573 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.4358, allocations: 15.98 kB / 0.5573 GB, free: 3.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.436, allocations: 232.5 kB / 0.5575 GB, free: 3.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.436, allocations: 0 / 0.5575 GB, free: 3.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003515/0.4364, allocations: 67.92 kB / 0.5576 GB, free: 3.672 MB / 398.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.001604/0.438, allocations: 443.3 kB / 0.558 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008328/0.4388, allocations: 350 kB / 0.5583 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4388, allocations: 0 / 0.5583 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.4392, allocations: 270.1 kB / 0.5586 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.4397, allocations: 57.53 kB / 0.5586 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.4408, allocations: 461.5 kB / 0.5591 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4414, allocations: 0.7517 MB / 0.5598 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.4415, allocations: 33.52 kB / 0.5598 GB, free: 1.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.4415, allocations: 19.44 kB / 0.5599 GB, free: 1.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4415, allocations: 0 / 0.5599 GB, free: 1.34 MB / 398.1 MB Notification: Performance of Templates: time 0.008771/0.4503, allocations: 3.531 MB / 0.5633 GB, free: 13.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.472134153358638]