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.001731/0.001731, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00217/0.00217, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 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.2255/0.2255, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002098/0.002098, allocations: 64.14 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.292, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003355/0.2954, allocations: 1.868 MB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2974, allocations: 1.123 MB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.2975, allocations: 11.94 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.2981, allocations: 187.4 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.2985, allocations: 171.4 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.2989, allocations: 167.2 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.2993, allocations: 279.3 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2994, allocations: 25.78 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.2995, allocations: 115.6 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.2997, allocations: 123.6 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.2998, allocations: 16 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.2999, allocations: 79.89 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3, allocations: 63.81 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3001, allocations: 87.53 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.3005, allocations: 293.2 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3005, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3005, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3005, allocations: 0 / 0.5663 GB, free: 15.57 MB / 414.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.0009641/0.3015, allocations: 0.5972 MB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3015, allocations: 8.031 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.3016, allocations: 32.8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.302, allocations: 225.5 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3021, allocations: 170.8 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.3022, allocations: 15.94 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.3026, allocations: 233.3 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3026, allocations: 3.984 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.3026, allocations: 8 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.3026, allocations: 7.938 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.3029, allocations: 184.9 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.3037, allocations: 0.5318 MB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.3041, allocations: 237 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.3043, allocations: 159.6 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3043, allocations: 4 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.3049, allocations: 0.5216 MB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.3049, allocations: 0 / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001038/0.3059, allocations: 0.6101 MB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.3061, allocations: 203.8 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.3064, allocations: 329.8 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3065, allocations: 33.7 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3066, allocations: 132.6 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.3066, allocations: 51.58 kB / 0.5704 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.3067, allocations: 57.69 kB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3069, allocations: 342.8 kB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3071, allocations: 141.1 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.3074, allocations: 256.2 kB / 0.5712 GB, free: 9.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.3078, allocations: 370.9 kB / 0.5715 GB, free: 9.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3078, allocations: 0 / 0.5715 GB, free: 9.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006377/0.3085, allocations: 439.3 kB / 0.572 GB, free: 9.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.3085, allocations: 105 kB / 0.5721 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3086, allocations: 4 kB / 0.5721 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3086, allocations: 4.188 kB / 0.5721 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3087, allocations: 16.16 kB / 0.5721 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3087, allocations: 11.98 kB / 0.5721 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.3088, allocations: 24.27 kB / 0.5721 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3089, allocations: 15.98 kB / 0.5721 GB, free: 8.844 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.0002423/0.3091, allocations: 274.1 kB / 0.5724 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.3092, allocations: 31.8 kB / 0.5724 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.3096, allocations: 238.7 kB / 0.5727 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3096, allocations: 4 kB / 0.5727 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3096, allocations: 4 kB / 0.5727 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3096, allocations: 7.922 kB / 0.5727 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.3098, allocations: 209.1 kB / 0.5729 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3098, allocations: 4 kB / 0.5729 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.3099, allocations: 7.938 kB / 0.5729 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3099, allocations: 0 / 0.5729 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.3099, allocations: 11.94 kB / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/0.3099, allocations: 4 kB / 0.5729 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3099, allocations: 3.984 kB / 0.5729 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.3107, allocations: 0.5384 MB / 0.5734 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.3108, allocations: 35.75 kB / 0.5735 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.3108, allocations: 15.94 kB / 0.5735 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3109, allocations: 15.98 kB / 0.5735 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.311, allocations: 19.97 kB / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.311, allocations: 12 kB / 0.5735 GB, free: 7.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.3113, allocations: 245.2 kB / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3113, allocations: 0 / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.3116, allocations: 63.94 kB / 0.5738 GB, free: 6.984 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 (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.001679/0.3133, allocations: 460.6 kB / 0.5743 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007176/0.314, allocations: 0.5431 MB / 0.5748 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.314, allocations: 0 / 0.5748 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.3145, allocations: 367.1 kB / 0.5751 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3148, allocations: 52.78 kB / 0.5752 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.3157, allocations: 0.5417 MB / 0.5757 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3158, allocations: 137.1 kB / 0.5758 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.867e-05/0.3159, allocations: 29.94 kB / 0.5759 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.316, allocations: 31.42 kB / 0.5759 GB, free: 4.816 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.316, allocations: 0 / 0.5759 GB, free: 4.816 MB / 414.1 MB Notification: Performance of Templates: time 0.008514/0.3245, allocations: 3.826 MB / 0.5796 GB, free: 1.027 MB / 414.1 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 -s gbode -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/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_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.049427427002229]