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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2181/0.2181, allocations: 46.89 MB / 359.9 MB, free: 5.023 MB / 286.1 MB [Timeout remaining time 90] 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.002331/0.002331, allocations: 79.88 kB / 0.495 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2823, allocations: 65.97 MB / 0.5594 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003315/0.2856, allocations: 1.916 MB / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.2876, allocations: 1.201 MB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.2877, allocations: 0 / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.2883, allocations: 195.1 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.2887, allocations: 167.4 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2891, allocations: 167.5 kB / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.2894, allocations: 271.3 kB / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2895, allocations: 21.67 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.2896, allocations: 119.5 kB / 0.5633 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.2898, allocations: 123.5 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.2898, allocations: 20 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.29, allocations: 67.95 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2901, allocations: 67.7 kB / 0.5636 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2902, allocations: 111.4 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.2906, allocations: 285.3 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2906, allocations: 0 / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2906, allocations: 0 / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.2906, allocations: 4 kB / 0.564 GB, free: 496 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.000978/0.2916, allocations: 0.6802 MB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2916, allocations: 13.47 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.2917, allocations: 28.8 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.2921, allocations: 275.9 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.964e-05/0.2922, allocations: 93.67 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.2922, allocations: 23.88 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.2925, allocations: 168 kB / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2925, allocations: 0 / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2925, allocations: 4 kB / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2925, allocations: 0 / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.2928, allocations: 87.88 kB / 0.5653 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.2936, allocations: 0.6141 MB / 0.5659 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.2939, allocations: 151.9 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.2941, allocations: 74.53 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2941, allocations: 4 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/0.2946, allocations: 434.3 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.2946, allocations: 0 / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008696/0.2955, allocations: 446.5 kB / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.2956, allocations: 217.6 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.296, allocations: 330.5 kB / 0.5675 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.296, allocations: 33.7 kB / 0.5675 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2961, allocations: 128.7 kB / 0.5676 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.2962, allocations: 59.58 kB / 0.5677 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.2963, allocations: 53.69 kB / 0.5678 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2964, allocations: 334.8 kB / 0.5681 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2966, allocations: 67.89 kB / 0.5681 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.2968, allocations: 142.3 kB / 0.5683 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.2972, allocations: 351 kB / 0.5686 GB, free: 11.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.2972, allocations: 8 kB / 0.5686 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005519/0.2978, allocations: 354.7 kB / 0.569 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.2979, allocations: 97.09 kB / 0.569 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2979, allocations: 4 kB / 0.569 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.2979, allocations: 4 kB / 0.5691 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.298, allocations: 19.98 kB / 0.5691 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.298, allocations: 7.938 kB / 0.5691 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.2982, allocations: 31.81 kB / 0.5691 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2982, allocations: 8 kB / 0.5691 GB, free: 10.65 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.0002808/0.2985, allocations: 265.5 kB / 0.5694 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.2985, allocations: 35.8 kB / 0.5694 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.2989, allocations: 205.1 kB / 0.5696 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.2989, allocations: 7.984 kB / 0.5696 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2989, allocations: 0 / 0.5696 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2989, allocations: 0 / 0.5696 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.2992, allocations: 301.4 kB / 0.5699 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2992, allocations: 0 / 0.5699 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.2993, allocations: 7.938 kB / 0.5699 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.2993, allocations: 8 kB / 0.5699 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.2993, allocations: 7.984 kB / 0.5699 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2993, allocations: 7.938 kB / 0.5699 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2993, allocations: 0 / 0.5699 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.3, allocations: 443.6 kB / 0.5703 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.3001, allocations: 108.9 kB / 0.5705 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3001, allocations: 16 kB / 0.5705 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3002, allocations: 15.98 kB / 0.5705 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.3003, allocations: 23.97 kB / 0.5705 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.3004, allocations: 12 kB / 0.5705 GB, free: 9.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.3006, allocations: 241.9 kB / 0.5707 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3006, allocations: 3.938 kB / 0.5708 GB, free: 8.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.3011, allocations: 75.81 kB / 0.5708 GB, free: 8.746 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.001491/0.3026, allocations: 413.2 kB / 0.5712 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.3031, allocations: 357.4 kB / 0.5716 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3032, allocations: 4 kB / 0.5716 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.3035, allocations: 274.5 kB / 0.5718 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3038, allocations: 67.64 kB / 0.5719 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.3047, allocations: 482.8 kB / 0.5723 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3051, allocations: 0.7596 MB / 0.5731 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.3051, allocations: 19.44 kB / 0.5731 GB, free: 6.406 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3051, allocations: 3.938 kB / 0.5731 GB, free: 6.402 MB / 414.1 MB Notification: Performance of Templates: time 0.006246/0.3114, allocations: 3.581 MB / 0.5766 GB, free: 2.824 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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