Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001978/0.001978, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002077/0.002077, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2791/0.2791, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.332e-05, allocations: 6.25 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003271/0.003304, allocations: 1.897 MB / 348.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004942, allocations: 0.9362 MB / 349.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.005061, allocations: 4 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.005848, allocations: 191.3 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.006158, allocations: 131.4 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.00655, allocations: 175.5 kB / 350.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.006835, allocations: 263.3 kB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.006952, allocations: 29.72 kB / 350.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.007126, allocations: 155.6 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.007274, allocations: 99.75 kB / 350.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.007314, allocations: 16 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.007465, allocations: 67.95 kB / 350.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.007552, allocations: 59.77 kB / 350.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.007651, allocations: 75.81 kB / 351 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.007996, allocations: 303 kB / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008, allocations: 0 / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008002, allocations: 0 / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.008008, allocations: 0 / 351.3 MB, free: 5.426 MB / 282.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.0009507/0.008959, allocations: 0.7085 MB / 352 MB, free: 4.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.009003, allocations: 8.031 kB / 352 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.009115, allocations: 44.78 kB / 352.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.009482, allocations: 215.6 kB / 352.3 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.009595, allocations: 170.8 kB / 352.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.009622, allocations: 20.36 kB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.009949, allocations: 250 kB / 352.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.009962, allocations: 4 kB / 352.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.009982, allocations: 8 kB / 352.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.009988, allocations: 4 kB / 352.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.01024, allocations: 185 kB / 352.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.01097, allocations: 0.6965 MB / 353.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.0113, allocations: 274.5 kB / 353.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.01149, allocations: 172.1 kB / 354 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.01152, allocations: 7.984 kB / 354 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.01191, allocations: 0.5525 MB / 354.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.01191, allocations: 0 / 354.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008691/0.01278, allocations: 0.6296 MB / 355.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.01285, allocations: 195.9 kB / 355.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.01313, allocations: 356.3 kB / 355.7 MB, free: 444 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01315, allocations: 33.7 kB / 355.8 MB, free: 404 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01325, allocations: 191.4 kB / 356 MB, free: 208 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.0133, allocations: 59.58 kB / 356 MB, free: 148 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.01338, allocations: 71.3 kB / 356.1 MB, free: 68 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003621/0.01375, allocations: 0.5274 MB / 356.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.01398, allocations: 145 kB / 356.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.01435, allocations: 279.7 kB / 357 MB, free: 15.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.01492, allocations: 403 kB / 357.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01493, allocations: 3.938 kB / 357.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000784/0.01571, allocations: 455.4 kB / 357.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.01583, allocations: 97.09 kB / 358 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.01584, allocations: 0 / 358 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.01587, allocations: 4 kB / 358 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.01599, allocations: 24.14 kB / 358 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.016, allocations: 11.94 kB / 358 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.01615, allocations: 27.88 kB / 358 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.01618, allocations: 8 kB / 358.1 MB, free: 13.87 MB / 298.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.0003493/0.01653, allocations: 288.2 kB / 358.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.01697, allocations: 47.81 kB / 358.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.01749, allocations: 242.7 kB / 358.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.0175, allocations: 4 kB / 358.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.01751, allocations: 7.938 kB / 358.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01752, allocations: 0 / 358.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.01789, allocations: 244.5 kB / 358.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01789, allocations: 0 / 358.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.01794, allocations: 12 kB / 358.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01795, allocations: 0 / 358.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.01798, allocations: 12 kB / 358.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01798, allocations: 0 / 358.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.01799, allocations: 7.984 kB / 358.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.01896, allocations: 0.5761 MB / 359.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.01902, allocations: 31.78 kB / 359.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.01908, allocations: 12 kB / 359.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.01921, allocations: 23.98 kB / 359.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.01931, allocations: 19.92 kB / 359.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.01935, allocations: 15.98 kB / 359.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.01962, allocations: 241.1 kB / 359.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01962, allocations: 0 / 359.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.01998, allocations: 60 kB / 359.9 MB, free: 11.91 MB / 298.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.003125/0.0231, allocations: 471.1 kB / 360.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.02403, allocations: 0.57 MB / 360.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02403, allocations: 0 / 360.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.02457, allocations: 414.8 kB / 361.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.02504, allocations: 60.59 kB / 361.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02616, allocations: 0.5223 MB / 361.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.02634, allocations: 144.2 kB / 362 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.02644, allocations: 29.77 kB / 362.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.02652, allocations: 28.44 kB / 362.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of SimCode: time 1.093e-06/0.02652, allocations: 0 / 362.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of Templates: time 0.0107/0.03722, allocations: 3.61 MB / 365.7 MB, free: 5.984 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.838410918950103]