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.002312/0.002312, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002593/0.002593, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.566/1.566, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 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.372/0.372, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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 2.134e-06/2.134e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.369e-05, allocations: 3.438 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003666/0.0037, allocations: 1.903 MB / 379.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.006015, allocations: 1.149 MB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.006129, allocations: 4 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.006901, allocations: 191.4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.007365, allocations: 171.2 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.007843, allocations: 171.5 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.008244, allocations: 283.2 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.00835, allocations: 17.81 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.008611, allocations: 155.7 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.008803, allocations: 99.75 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.008852, allocations: 20 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.009037, allocations: 75.81 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.009145, allocations: 63.77 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.009261, allocations: 67.83 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.009765, allocations: 311 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.009769, allocations: 4 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.521e-06/0.009775, allocations: 4 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.009781, allocations: 0 / 381.9 MB, free: 14.25 MB / 362.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.001137/0.01092, allocations: 0.7047 MB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01096, allocations: 8.031 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01108, allocations: 48.75 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.01147, allocations: 223.5 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.01164, allocations: 166.8 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.01167, allocations: 16.38 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.01209, allocations: 258.6 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.0121, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.01212, allocations: 8 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01213, allocations: 7.938 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.01246, allocations: 173 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01348, allocations: 0.7005 MB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.01396, allocations: 282.5 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.01422, allocations: 172.1 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.01424, allocations: 4 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006336/0.01488, allocations: 0.543 MB / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.01488, allocations: 0 / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001169/0.01605, allocations: 0.6452 MB / 385.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.01621, allocations: 195.9 kB / 386 MB, free: 9.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.01666, allocations: 372.2 kB / 386.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.0167, allocations: 33.7 kB / 386.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.01687, allocations: 203.3 kB / 386.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.01694, allocations: 51.66 kB / 386.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01705, allocations: 67.34 kB / 386.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003266/0.01737, allocations: 0.5313 MB / 387.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.01759, allocations: 141.1 kB / 387.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.01794, allocations: 283.3 kB / 387.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.01848, allocations: 406.8 kB / 388 MB, free: 7.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01848, allocations: 0 / 388 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007281/0.01921, allocations: 447.9 kB / 388.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.01931, allocations: 101.1 kB / 388.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.01932, allocations: 7.969 kB / 388.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01934, allocations: 4 kB / 388.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01945, allocations: 19.94 kB / 388.6 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01946, allocations: 4 kB / 388.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.0196, allocations: 27.88 kB / 388.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.01963, allocations: 8.375 kB / 388.6 MB, free: 6.668 MB / 362.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.0002924/0.01992, allocations: 308.2 kB / 388.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.02, allocations: 43.81 kB / 389 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.02047, allocations: 247 kB / 389.2 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02048, allocations: 4 kB / 389.2 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02048, allocations: 0 / 389.2 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.02049, allocations: 7.938 kB / 389.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.02082, allocations: 240.5 kB / 389.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.02083, allocations: 0 / 389.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.02087, allocations: 7.984 kB / 389.5 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.02087, allocations: 4 kB / 389.5 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.0209, allocations: 12 kB / 389.5 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.02091, allocations: 7.938 kB / 389.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02091, allocations: 0 / 389.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.02179, allocations: 0.5798 MB / 390.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.02185, allocations: 27.8 kB / 390.1 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.0219, allocations: 8 kB / 390.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.02202, allocations: 19.98 kB / 390.1 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.02212, allocations: 27.91 kB / 390.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.02215, allocations: 19.88 kB / 390.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.02243, allocations: 245.1 kB / 390.4 MB, free: 4.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02243, allocations: 0 / 390.4 MB, free: 4.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.02277, allocations: 71.94 kB / 390.5 MB, free: 4.668 MB / 362.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.002954/0.02572, allocations: 443.2 kB / 390.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.02673, allocations: 0.5694 MB / 391.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.02673, allocations: 0 / 391.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.02733, allocations: 407.3 kB / 391.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.02776, allocations: 80.33 kB / 392 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02884, allocations: 0.5305 MB / 392.5 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.02902, allocations: 148.8 kB / 392.6 MB, free: 2.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.673e-05/0.02912, allocations: 33.88 kB / 392.7 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.02919, allocations: 20.5 kB / 392.7 MB, free: 2.395 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02919, allocations: 0 / 392.7 MB, free: 2.395 MB / 362.7 MB Notification: Performance of Templates: time 0.009067/0.03826, allocations: 3.668 MB / 396.4 MB, free: 14.75 MB / 378.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 -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","/var/lib/jenkins/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: 5.048219995922409]