Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001722/0.001722, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002142/0.002142, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.556/1.556, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2495/0.2495, allocations: 46.89 MB / 361.1 MB, free: 4.723 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 88.14 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3932, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003854/0.3971, allocations: 1.93 MB / 0.5631 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3993, allocations: 1.216 MB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3994, allocations: 0 / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.4002, allocations: 183.4 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.4007, allocations: 175.3 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.4011, allocations: 159.6 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.4015, allocations: 271.4 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4016, allocations: 25.66 kB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.4018, allocations: 115.6 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.402, allocations: 119.5 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.402, allocations: 27.98 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.4022, allocations: 59.97 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4023, allocations: 71.75 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.4025, allocations: 111.4 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.4029, allocations: 285.6 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4029, allocations: 4 kB / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4029, allocations: 0 / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4029, allocations: 0 / 0.5658 GB, free: 292 kB / 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.001223/0.4041, allocations: 0.6802 MB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4042, allocations: 8.031 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.4043, allocations: 28.8 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.4047, allocations: 283.8 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4048, allocations: 93.67 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.4049, allocations: 12.38 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.4052, allocations: 174.9 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4052, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.4053, allocations: 8 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4053, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.4055, allocations: 95.86 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.4064, allocations: 0.6064 MB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.4068, allocations: 155.9 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.407, allocations: 78.55 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.407, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.4075, allocations: 433.1 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.4075, allocations: 11.94 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009311/0.4085, allocations: 434.6 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.4086, allocations: 217.5 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.409, allocations: 330.5 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.4091, allocations: 33.7 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4092, allocations: 132.7 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.4092, allocations: 59.52 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.4093, allocations: 53.7 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4095, allocations: 342.8 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4097, allocations: 55.95 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.4099, allocations: 146.2 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.4103, allocations: 354.9 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4103, allocations: 4 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005523/0.4109, allocations: 346.7 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.411, allocations: 97.31 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.411, allocations: 7.938 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.411, allocations: 8 kB / 0.5709 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4111, allocations: 27.92 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4111, allocations: 4 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4113, allocations: 23.88 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4113, allocations: 12 kB / 0.5709 GB, free: 10.44 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.0002535/0.4115, allocations: 265.5 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.4116, allocations: 39.78 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.412, allocations: 204.9 kB / 0.5714 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.412, allocations: 4 kB / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.412, allocations: 0 / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.412, allocations: 0 / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.4123, allocations: 293.4 kB / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4123, allocations: 0 / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.4123, allocations: 4 kB / 0.5717 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4123, allocations: 4 kB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.4124, allocations: 23.88 kB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4124, allocations: 0 / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4124, allocations: 3.984 kB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.4131, allocations: 451.5 kB / 0.5722 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.4132, allocations: 105 kB / 0.5723 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.4132, allocations: 15.94 kB / 0.5723 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4133, allocations: 19.98 kB / 0.5723 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.4134, allocations: 15.98 kB / 0.5723 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.4134, allocations: 16 kB / 0.5723 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.4137, allocations: 237.9 kB / 0.5726 GB, free: 8.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4137, allocations: 0 / 0.5726 GB, free: 8.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.414, allocations: 71.89 kB / 0.5726 GB, free: 8.547 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.001589/0.4156, allocations: 429 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.4162, allocations: 357.9 kB / 0.5734 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4162, allocations: 0 / 0.5734 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.4166, allocations: 274.1 kB / 0.5737 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4169, allocations: 53.28 kB / 0.5737 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.4178, allocations: 465 kB / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4183, allocations: 0.7518 MB / 0.5749 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.298e-05/0.4184, allocations: 33.83 kB / 0.5749 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.4184, allocations: 23.44 kB / 0.5749 GB, free: 6.211 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4184, allocations: 0 / 0.5749 GB, free: 6.211 MB / 414.1 MB Notification: Performance of Templates: time 0.008506/0.4269, allocations: 3.576 MB / 0.5784 GB, free: 2.645 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.327170496806502]