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.001886/0.001886, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.00241/0.00241, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3387/0.3387, allocations: 34.27 MB / 295.3 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.495e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003815/0.00385, allocations: 1.877 MB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.006179, allocations: 1.129 MB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.006305, allocations: 7.938 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.007112, allocations: 191.4 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.00761, allocations: 175.2 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.008085, allocations: 163.5 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.008514, allocations: 287.2 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.008631, allocations: 21.81 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.008876, allocations: 155.6 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.009064, allocations: 99.75 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.009113, allocations: 20 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.009287, allocations: 71.88 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.009398, allocations: 59.83 kB / 381.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.009522, allocations: 75.77 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.01005, allocations: 307 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.01006, allocations: 0 / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01006, allocations: 0 / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01007, allocations: 0 / 381.9 MB, free: 14.36 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.001359/0.01142, allocations: 0.5895 MB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.01147, allocations: 8.031 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.01161, allocations: 48.69 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.01208, allocations: 220.8 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.01231, allocations: 166.8 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.01235, allocations: 20.38 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.01281, allocations: 247.2 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01282, allocations: 0 / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.01284, allocations: 4 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01285, allocations: 7.984 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.0132, allocations: 188.8 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01445, allocations: 0.5241 MB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.0149, allocations: 245 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.01517, allocations: 159.6 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.0152, allocations: 4 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006966/0.0159, allocations: 0.5128 MB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.0159, allocations: 0 / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001186/0.01708, allocations: 0.6295 MB / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.01726, allocations: 195.9 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.01769, allocations: 329.8 kB / 385.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.01774, allocations: 33.7 kB / 386 MB, free: 9.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.01788, allocations: 136.6 kB / 386.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.01794, allocations: 51.62 kB / 386.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.01803, allocations: 53.64 kB / 386.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.01824, allocations: 342.8 kB / 386.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.01846, allocations: 141.1 kB / 386.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.01877, allocations: 256.1 kB / 386.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.01929, allocations: 367.4 kB / 387.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01929, allocations: 0 / 387.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007096/0.02, allocations: 463.3 kB / 387.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.02012, allocations: 97.09 kB / 387.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02013, allocations: 4 kB / 387.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.02015, allocations: 0 / 387.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.02028, allocations: 23.92 kB / 387.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.0203, allocations: 7.938 kB / 387.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.02044, allocations: 23.94 kB / 387.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.02046, allocations: 16.22 kB / 387.9 MB, free: 7.613 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.0003021/0.02076, allocations: 265.4 kB / 388.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.02085, allocations: 47.81 kB / 388.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.02135, allocations: 235 kB / 388.4 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.02135, allocations: 4 kB / 388.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.02136, allocations: 7.875 kB / 388.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.02137, allocations: 4 kB / 388.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.02167, allocations: 197.2 kB / 388.6 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.02167, allocations: 11.98 kB / 388.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.02171, allocations: 7.938 kB / 388.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.02172, allocations: 4 kB / 388.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.02175, allocations: 8 kB / 388.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.02175, allocations: 7.984 kB / 388.7 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02176, allocations: 0 / 388.7 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.0227, allocations: 0.5552 MB / 389.2 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.02275, allocations: 27.78 kB / 389.3 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.02282, allocations: 12 kB / 389.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.02294, allocations: 19.98 kB / 389.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.02305, allocations: 31.89 kB / 389.3 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.02309, allocations: 8.188 kB / 389.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.0234, allocations: 245.2 kB / 389.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0234, allocations: 0 / 389.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.02377, allocations: 63.94 kB / 389.6 MB, free: 5.742 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.002249/0.02602, allocations: 459.4 kB / 390.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.02713, allocations: 0.5353 MB / 390.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02713, allocations: 0 / 390.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.0276, allocations: 367.2 kB / 391 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.02801, allocations: 70.06 kB / 391 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02908, allocations: 0.5546 MB / 391.6 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.02926, allocations: 149.3 kB / 391.7 MB, free: 3.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.336e-05/0.02936, allocations: 25.94 kB / 391.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.02943, allocations: 24.5 kB / 391.8 MB, free: 3.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02943, allocations: 0 / 391.8 MB, free: 3.562 MB / 362.7 MB Notification: Performance of Templates: time 0.009247/0.03867, allocations: 3.658 MB / 395.5 MB, free: 15.93 MB / 378.7 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.0467468610731885]