Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.0128/0.0128, allocations: 106.2 kB / 15.06 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.2.mo): time 0.001227/0.001227, allocations: 178.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.117/2.117, allocations: 194.5 MB / 211.2 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2733/0.2733, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000681/0.0006814, allocations: 16 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1209, allocations: 54.87 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002313/0.1233, allocations: 1.203 MB / 417.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1246, allocations: 0.5392 MB / 417.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.1247, allocations: 0 / 417.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.78e-05/0.1248, allocations: 7.922 kB / 417.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.1249, allocations: 11.98 kB / 417.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.1254, allocations: 87.83 kB / 417.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1256, allocations: 83.83 kB / 417.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.1257, allocations: 12.23 kB / 418 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.1258, allocations: 43.91 kB / 418 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1259, allocations: 51.8 kB / 418 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.126, allocations: 8 kB / 418.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.1262, allocations: 43.91 kB / 418.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.1262, allocations: 15.98 kB / 418.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.1263, allocations: 49.64 kB / 418.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1266, allocations: 104 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1266, allocations: 4 kB / 418.3 MB, free: 296 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1266, allocations: 0 / 418.3 MB, free: 296 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1266, allocations: 0 / 418.3 MB, free: 296 kB / 346.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.000836/0.1274, allocations: 0.5347 MB / 418.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1275, allocations: 8.031 kB / 418.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.1276, allocations: 46.55 kB / 418.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.1277, allocations: 19.81 kB / 418.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1278, allocations: 175 kB / 419 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.128, allocations: 97.05 kB / 419.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.128, allocations: 15.95 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.1285, allocations: 143 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1285, allocations: 3.938 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.1285, allocations: 8 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1286, allocations: 0 / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1289, allocations: 87.94 kB / 419.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009558/0.1299, allocations: 0.5321 MB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.1303, allocations: 155.8 kB / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1303, allocations: 0 / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006637/0.131, allocations: 463.5 kB / 420.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.923e-06/0.131, allocations: 0 / 420.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001493/0.1325, allocations: 0.7857 MB / 421.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.1327, allocations: 251.2 kB / 421.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1329, allocations: 133.7 kB / 421.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.1329, allocations: 33.7 kB / 421.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.133, allocations: 96.56 kB / 421.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.1331, allocations: 47.44 kB / 421.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.1331, allocations: 4 kB / 421.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1333, allocations: 334.8 kB / 422.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1335, allocations: 55.97 kB / 422.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.1338, allocations: 119.7 kB / 422.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.1341, allocations: 204.4 kB / 422.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1341, allocations: 0 / 422.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008473/0.135, allocations: 401.9 kB / 423 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.1351, allocations: 152.5 kB / 423.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.1352, allocations: 0 / 423.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.1352, allocations: 4 kB / 423.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1353, allocations: 8 kB / 423.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1353, allocations: 7.938 kB / 423.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.1355, allocations: 27.83 kB / 423.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1356, allocations: 12.38 kB / 423.2 MB, free: 10.75 MB / 362.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.0002984/0.1359, allocations: 282.8 kB / 423.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.136, allocations: 15.91 kB / 423.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.136, allocations: 16.31 kB / 423.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.136, allocations: 0 / 423.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.136, allocations: 8 kB / 423.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.136, allocations: 0 / 423.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.1371, allocations: 0.5758 MB / 424.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1371, allocations: 0 / 424.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.1371, allocations: 0 / 424.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1371, allocations: 4.281 kB / 424.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.1372, allocations: 8 kB / 424.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1372, allocations: 0 / 424.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1372, allocations: 7.922 kB / 424.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1384, allocations: 0.5911 MB / 424.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.1385, allocations: 85.02 kB / 424.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.1385, allocations: 12 kB / 424.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1388, allocations: 27.94 kB / 424.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1389, allocations: 19.98 kB / 424.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.139, allocations: 12 kB / 424.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.1391, allocations: 107.2 kB / 424.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1391, allocations: 0 / 424.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005049/0.1396, allocations: 60 kB / 425 MB, free: 8.75 MB / 362.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.001668/0.1413, allocations: 1.287 MB / 426.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009443/0.1423, allocations: 0.5047 MB / 426.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1423, allocations: 0 / 426.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.1429, allocations: 414 kB / 427.2 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1432, allocations: 12 kB / 427.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.1461, allocations: 2.163 MB / 429.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1465, allocations: 0.716 MB / 430.1 MB, free: 3.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.1466, allocations: 4.438 kB / 430.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.1467, allocations: 27.42 kB / 430.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of SimCode: time 2.926e-06/0.1467, allocations: 0 / 430.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1705, allocations: 3.014 MB / 433.1 MB, free: 396 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.1709, allocations: 164.4 kB / 433.3 MB, free: 152 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/2.606, allocations: 0 / 433.3 MB, free: 152 kB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay_res.mat does not exist to compare? outputFormat=mat