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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 112.6 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 198.9 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1917/0.1917, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 70.03 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09255, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003843/0.09644, allocations: 1.878 MB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.09834, allocations: 0.9635 MB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.0986, allocations: 4 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.09959, allocations: 191.4 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.1001, allocations: 127.5 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.1007, allocations: 167.6 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.1012, allocations: 279.3 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1014, allocations: 41.58 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1017, allocations: 111.7 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1019, allocations: 115.6 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.102, allocations: 16 kB / 0.4923 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1022, allocations: 63.91 kB / 0.4924 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1023, allocations: 63.81 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1025, allocations: 107.5 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1028, allocations: 275.1 kB / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1029, allocations: 0 / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1029, allocations: 0 / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1029, allocations: 4 kB / 0.4928 GB, free: 7.402 MB / 382.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.0009144/0.1038, allocations: 0.661 MB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1038, allocations: 11.89 kB / 0.4935 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.1039, allocations: 28.66 kB / 0.4935 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1043, allocations: 282.7 kB / 0.4938 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.1044, allocations: 93.67 kB / 0.4939 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1044, allocations: 19.94 kB / 0.4939 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.1047, allocations: 153 kB / 0.494 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1047, allocations: 0 / 0.494 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1048, allocations: 4 kB / 0.494 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1048, allocations: 4 kB / 0.494 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.105, allocations: 103.9 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007427/0.1058, allocations: 0.6023 MB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1061, allocations: 175.9 kB / 0.4949 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1063, allocations: 90.55 kB / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1063, allocations: 4 kB / 0.495 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.1067, allocations: 436.9 kB / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 3.436e-06/0.1068, allocations: 3.984 kB / 0.4954 GB, free: 4.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.000799/0.1076, allocations: 450.2 kB / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.1077, allocations: 217.6 kB / 0.496 GB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.108, allocations: 320.9 kB / 0.4963 GB, free: 3.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.108, allocations: 29.7 kB / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.1081, allocations: 136.6 kB / 0.4965 GB, free: 3.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.1082, allocations: 63.22 kB / 0.4966 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.1083, allocations: 45.7 kB / 0.4966 GB, free: 3.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1084, allocations: 342.8 kB / 0.4969 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1085, allocations: 51.97 kB / 0.497 GB, free: 2.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1087, allocations: 142.3 kB / 0.4971 GB, free: 2.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1091, allocations: 358.7 kB / 0.4975 GB, free: 2.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1091, allocations: 0 / 0.4975 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005148/0.1096, allocations: 342.6 kB / 0.4978 GB, free: 1.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.1097, allocations: 101 kB / 0.4979 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1097, allocations: 0 / 0.4979 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1097, allocations: 4 kB / 0.4979 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1098, allocations: 28.2 kB / 0.4979 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1098, allocations: 7.938 kB / 0.4979 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.11, allocations: 23.89 kB / 0.4979 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.11, allocations: 16 kB / 0.498 GB, free: 1.562 MB / 382.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.0002132/0.1103, allocations: 269.3 kB / 0.4982 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.1103, allocations: 35.59 kB / 0.4982 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.1104, allocations: 25.7 kB / 0.4983 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1104, allocations: 8 kB / 0.4983 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1104, allocations: 0 / 0.4983 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.1105, allocations: 96.83 kB / 0.4984 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.1105, allocations: 15.98 kB / 0.4984 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1107, allocations: 16 kB / 0.4984 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.1108, allocations: 19.97 kB / 0.4984 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007653/0.1115, allocations: 0.7838 MB / 0.4992 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007024/0.1122, allocations: 0.7129 MB / 0.4999 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000238/0.1125, allocations: 163.9 kB / 0.5 GB, free: 15.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.1127, allocations: 232.5 kB / 0.5003 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.1127, allocations: 0 / 0.5003 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.1145, allocations: 0.7213 MB / 0.501 GB, free: 14.33 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009847/0.1155, allocations: 0.9993 MB / 0.5019 GB, free: 13.24 MB / 398.1 MB Notification: Performance of Templates: time 0.007935/0.1235, allocations: 3.837 MB / 0.5057 GB, free: 9.406 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches