Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01051/0.01051, allocations: 104.9 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001127/0.001127, allocations: 167.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.74/1.74, allocations: 170.9 MB / 187.6 MB, free: 0.8477 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2524/0.2524, allocations: 38.1 MB / 265.1 MB, free: 3.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006468/0.0006473, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09458, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002148/0.09677, allocations: 1.183 MB / 373.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.09807, allocations: 0.5383 MB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.09816, allocations: 0 / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.09822, allocations: 3.938 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.09832, allocations: 15.95 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.09891, allocations: 83.89 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.09908, allocations: 71.86 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.0992, allocations: 24.19 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.09928, allocations: 39.91 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.09939, allocations: 47.83 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.09944, allocations: 4 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.09961, allocations: 51.89 kB / 374.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.09968, allocations: 19.92 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.09978, allocations: 61.62 kB / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.09999, allocations: 96.03 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1, allocations: 4 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1, allocations: 0 / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1, allocations: 0 / 374.5 MB, free: 10.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008011/0.1008, allocations: 0.5268 MB / 375 MB, free: 9.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1009, allocations: 12.03 kB / 375.1 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.101, allocations: 42.56 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.1011, allocations: 15.91 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1012, allocations: 190.2 kB / 375.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.1014, allocations: 93.11 kB / 375.4 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.1014, allocations: 16 kB / 375.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.1019, allocations: 133.6 kB / 375.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1019, allocations: 0 / 375.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.1019, allocations: 12 kB / 375.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1019, allocations: 7.938 kB / 375.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.1023, allocations: 79.94 kB / 375.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1033, allocations: 0.536 MB / 376.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1037, allocations: 155.8 kB / 376.3 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1038, allocations: 8 kB / 376.3 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.1044, allocations: 455.5 kB / 376.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/0.1045, allocations: 0 / 376.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.001507/0.106, allocations: 0.7856 MB / 377.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.1062, allocations: 251.2 kB / 377.8 MB, free: 6.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1064, allocations: 137.8 kB / 377.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.1064, allocations: 33.7 kB / 378 MB, free: 6.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.1065, allocations: 100.6 kB / 378.1 MB, free: 6.531 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.1066, allocations: 43.45 kB / 378.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.1066, allocations: 8 kB / 378.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1068, allocations: 326.8 kB / 378.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.107, allocations: 51.97 kB / 378.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1073, allocations: 120.5 kB / 378.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.1076, allocations: 200.4 kB / 378.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1076, allocations: 4 kB / 378.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000863/0.1085, allocations: 401.8 kB / 379.2 MB, free: 5.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.1087, allocations: 152.5 kB / 379.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1087, allocations: 4 kB / 379.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1087, allocations: 4 kB / 379.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1088, allocations: 15.98 kB / 379.4 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1088, allocations: 7.891 kB / 379.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.109, allocations: 20.19 kB / 379.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1091, allocations: 8 kB / 379.4 MB, free: 5.059 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.1094, allocations: 274.8 kB / 379.7 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.1095, allocations: 27.75 kB / 379.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.1095, allocations: 8.375 kB / 379.7 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.1095, allocations: 7.984 kB / 379.7 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1095, allocations: 0 / 379.7 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1096, allocations: 7.953 kB / 379.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.1105, allocations: 0.5641 MB / 380.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1106, allocations: 4 kB / 380.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.1106, allocations: 8.297 kB / 380.3 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1106, allocations: 0 / 380.3 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.1107, allocations: 12.28 kB / 380.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.1107, allocations: 11.95 kB / 380.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1107, allocations: 0 / 380.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1118, allocations: 0.5743 MB / 380.9 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.1119, allocations: 96.81 kB / 381 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.112, allocations: 16 kB / 381 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1122, allocations: 23.98 kB / 381 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1123, allocations: 19.97 kB / 381.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.1124, allocations: 12 kB / 381.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.273e-05/0.1125, allocations: 95.27 kB / 381.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1125, allocations: 0 / 381.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004792/0.113, allocations: 64 kB / 381.2 MB, free: 3.07 MB / 282.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: 22 (onDelay1.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next) * Number of discrete states: 16 (onDelay2.t_next,onDelay2.delaySignal,$whenCondition7,$whenCondition6,onDelay3.t_next,onDelay3.delaySignal,$whenCondition5,$whenCondition4,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.1147, allocations: 1.299 MB / 382.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.1156, allocations: 0.5007 MB / 383 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1157, allocations: 4 kB / 383 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.1163, allocations: 409.5 kB / 383.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1165, allocations: 12.38 kB / 383.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.1199, allocations: 2.182 MB / 385.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1204, allocations: 0.7122 MB / 386.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.795e-05/0.1205, allocations: 4.422 kB / 386.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.1206, allocations: 35.42 kB / 386.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1206, allocations: 3.938 kB / 386.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/0.2441, allocations: 2.998 MB / 389.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/0.2445, allocations: 153.5 kB / 389.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/2.718, allocations: 4.062 kB / 389.5 MB, free: 10.46 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay_res.mat does not exist to compare? outputFormat=mat