Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009102/0.0009102, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003756/0.003756, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 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 0.9381/0.9381, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.242/0.242, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.176e-05, allocations: 3.406 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002201/0.002223, allocations: 1.88 MB / 442.7 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.003493, allocations: 1.134 MB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.003585, allocations: 0 / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.004127, allocations: 195.4 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.004416, allocations: 167.2 kB / 444.2 MB, free: 384 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.004698, allocations: 171.5 kB / 444.4 MB, free: 212 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1909/0.1956, allocations: 276 kB / 444.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1957, allocations: 22.47 kB / 444.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.196, allocations: 152.4 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1961, allocations: 105.1 kB / 444.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1962, allocations: 17.47 kB / 444.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.1963, allocations: 66.97 kB / 445 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.1964, allocations: 72.08 kB / 445.1 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.1965, allocations: 71.55 kB / 445.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1968, allocations: 300 kB / 445.4 MB, free: 43.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1968, allocations: 4.031 kB / 445.4 MB, free: 43.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1968, allocations: 0 / 445.4 MB, free: 43.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1968, allocations: 0 / 445.4 MB, free: 43.95 MB / 410.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.0007188/0.1976, allocations: 0.5968 MB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1976, allocations: 15.11 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.1977, allocations: 31.91 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1979, allocations: 219.2 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.198, allocations: 170.3 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.198, allocations: 16.31 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1982, allocations: 240.4 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1982, allocations: 4.156 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1982, allocations: 2.969 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1983, allocations: 3.875 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1984, allocations: 186.7 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.1989, allocations: 0.5222 MB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1991, allocations: 245.1 kB / 447.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.1992, allocations: 168.5 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1992, allocations: 0 / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.1994, allocations: 0.5123 MB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 9.52e-07/0.1994, allocations: 0 / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005117/0.2, allocations: 0.6142 MB / 448.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2, allocations: 194.4 kB / 449.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2002, allocations: 333 kB / 449.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2002, allocations: 37.95 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.2003, allocations: 130.8 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.2003, allocations: 56.27 kB / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.2004, allocations: 57.47 kB / 449.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.2004, allocations: 340.1 kB / 450.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.2005, allocations: 148.6 kB / 450.2 MB, free: 40.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2006, allocations: 248.3 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2008, allocations: 374 kB / 450.8 MB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2008, allocations: 3.031 kB / 450.8 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002842/0.2011, allocations: 433.1 kB / 451.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.2011, allocations: 99.19 kB / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2011, allocations: 6.438 kB / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2011, allocations: 2.688 kB / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.2012, allocations: 17.28 kB / 451.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2012, allocations: 12.75 kB / 451.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.2013, allocations: 28.02 kB / 451.4 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2013, allocations: 12.34 kB / 451.4 MB, free: 39.69 MB / 410.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.0001085/0.2014, allocations: 262.8 kB / 451.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.2014, allocations: 39.78 kB / 451.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.2016, allocations: 236.8 kB / 451.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2016, allocations: 6.094 kB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2016, allocations: 2.875 kB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2017, allocations: 3.938 kB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2018, allocations: 209.4 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2018, allocations: 3.125 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.2018, allocations: 7.375 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2018, allocations: 2.844 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2018, allocations: 9.078 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2018, allocations: 2.906 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2018, allocations: 7.047 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.2021, allocations: 0.5416 MB / 452.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.2021, allocations: 24.42 kB / 452.8 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.2022, allocations: 12.53 kB / 452.8 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.2022, allocations: 14.78 kB / 452.8 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.2023, allocations: 27.12 kB / 452.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.2023, allocations: 12.11 kB / 452.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2024, allocations: 241.7 kB / 453.1 MB, free: 38.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2024, allocations: 0 / 453.1 MB, free: 38.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.2026, allocations: 76.55 kB / 453.1 MB, free: 38.58 MB / 410.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.0006709/0.2033, allocations: 459.9 kB / 453.6 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.2036, allocations: 0.5323 MB / 454.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2036, allocations: 448 / 454.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.2038, allocations: 377.1 kB / 454.5 MB, free: 37.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.204, allocations: 61.14 kB / 454.5 MB, free: 37.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.2045, allocations: 0.5713 MB / 455.1 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.076e-05/0.2046, allocations: 149.8 kB / 455.3 MB, free: 37.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.2046, allocations: 24.19 kB / 455.3 MB, free: 37.16 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2046, allocations: 0 / 455.3 MB, free: 37.16 MB / 410.7 MB Notification: Performance of Templates: time 0.003421/0.208, allocations: 3.682 MB / 459 MB, free: 36.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.971721230074763]