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.001463/0.001463, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001598/0.001598, allocations: 156.9 kB / 24.27 MB, free: 168 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.539/1.539, allocations: 177 MB / 204.4 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.3339/0.3339, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.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 2.584e-06/2.584e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.809e-05, allocations: 3.859 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.006101/0.006139, allocations: 1.881 MB / 379.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.009956, allocations: 1.129 MB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.01014, allocations: 7.938 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.01133, allocations: 183.4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000835/0.01217, allocations: 179.1 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.01298, allocations: 155.5 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.01361, allocations: 287.2 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.01378, allocations: 17.8 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.01417, allocations: 159.6 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.01447, allocations: 103.8 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.01453, allocations: 20 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.0148, allocations: 67.89 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.01498, allocations: 71.75 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.01516, allocations: 67.83 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.01589, allocations: 303 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.01591, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.01591, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.01592, allocations: 0 / 381.8 MB, free: 14.29 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.001712/0.01763, allocations: 0.5972 MB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.01768, allocations: 15.97 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.01787, allocations: 40.75 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.01843, allocations: 220.8 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.01866, allocations: 170.8 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.01871, allocations: 16.38 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.01929, allocations: 246.1 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.0193, allocations: 0 / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.01934, allocations: 8 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01935, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.0198, allocations: 181 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.021, allocations: 0.528 MB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.02157, allocations: 245 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.02191, allocations: 159.7 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.02195, allocations: 7.984 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.02278, allocations: 0.5253 MB / 384.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.973e-06/0.02278, allocations: 0 / 384.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001451/0.02423, allocations: 0.6217 MB / 385.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.02441, allocations: 191.9 kB / 385.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/0.02499, allocations: 329.8 kB / 385.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.02504, allocations: 33.7 kB / 385.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.02522, allocations: 140.6 kB / 386 MB, free: 9.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.02529, allocations: 47.62 kB / 386.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.02539, allocations: 53.7 kB / 386.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002789/0.02567, allocations: 346.8 kB / 386.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.02591, allocations: 141.1 kB / 386.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.02623, allocations: 256.2 kB / 386.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.02677, allocations: 370.9 kB / 387.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02677, allocations: 0 / 387.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007101/0.02748, allocations: 451.7 kB / 387.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.02759, allocations: 101.1 kB / 387.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.02761, allocations: 0 / 387.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.02763, allocations: 4 kB / 387.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.02775, allocations: 28.2 kB / 387.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.02776, allocations: 7.938 kB / 387.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.02791, allocations: 27.88 kB / 387.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.02793, allocations: 12 kB / 387.8 MB, free: 7.52 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.0002991/0.02823, allocations: 265.4 kB / 388.1 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.02832, allocations: 51.8 kB / 388.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.02881, allocations: 234.8 kB / 388.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.02882, allocations: 4 kB / 388.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.02883, allocations: 7.984 kB / 388.4 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.02884, allocations: 3.938 kB / 388.4 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.02915, allocations: 197.2 kB / 388.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.02915, allocations: 7.938 kB / 388.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.02919, allocations: 4 kB / 388.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.02919, allocations: 0 / 388.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.02922, allocations: 11.98 kB / 388.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.02922, allocations: 4 kB / 388.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02923, allocations: 0 / 388.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.03015, allocations: 0.5514 MB / 389.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.03021, allocations: 31.73 kB / 389.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.03027, allocations: 8 kB / 389.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.03039, allocations: 19.98 kB / 389.2 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.0305, allocations: 23.95 kB / 389.2 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.03054, allocations: 15.94 kB / 389.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.03086, allocations: 245.2 kB / 389.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03086, allocations: 0 / 389.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.03123, allocations: 63.94 kB / 389.6 MB, free: 5.664 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.002112/0.03334, allocations: 457.2 kB / 390 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008176/0.03415, allocations: 0.5314 MB / 390.5 MB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03416, allocations: 0 / 390.5 MB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.03462, allocations: 375.1 kB / 390.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.03502, allocations: 71.98 kB / 391 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.03611, allocations: 0.5541 MB / 391.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.03629, allocations: 144.8 kB / 391.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.03645, allocations: 29.94 kB / 391.7 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.03653, allocations: 24.5 kB / 391.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.03653, allocations: 0 / 391.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of Templates: time 0.008839/0.04537, allocations: 3.676 MB / 395.4 MB, free: 15.79 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=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/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: 4.9860444880323485]