Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01042/0.01042, allocations: 169 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.661/1.661, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002002/0.002002, allocations: 114.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4709/0.4709, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004729, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5091, allocations: 75.86 MB / 487.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5094, allocations: 68.53 kB / 487.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.5263, allocations: 4.196 MB / 491.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5264, allocations: 0 / 491.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.5264, allocations: 3.938 kB / 491.8 MB, free: 7.879 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005127/0.5269, allocations: 455 kB / 492.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.527, allocations: 8.031 kB / 492.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.527, allocations: 34.56 kB / 492.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.5271, allocations: 7.906 kB / 492.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.5274, allocations: 203.8 kB / 492.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5274, allocations: 3.875 kB / 492.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.5274, allocations: 4 kB / 492.5 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5275, allocations: 45.17 kB / 492.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5276, allocations: 3.938 kB / 492.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5276, allocations: 8 kB / 492.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.5276, allocations: 0 / 492.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.5277, allocations: 16.89 kB / 492.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.5281, allocations: 299.7 kB / 492.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.5284, allocations: 46.36 kB / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.5284, allocations: 3.938 kB / 492.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.5285, allocations: 63.98 kB / 493 MB, free: 6.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.5285, allocations: 0 / 493 MB, free: 6.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004877/0.529, allocations: 120.6 kB / 493.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.5291, allocations: 55.22 kB / 493.2 MB, free: 6.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.5293, allocations: 198.6 kB / 493.4 MB, free: 6.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.5294, allocations: 36.8 kB / 493.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.5294, allocations: 103.5 kB / 493.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.5295, allocations: 19.48 kB / 493.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.5295, allocations: 4 kB / 493.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.5296, allocations: 318.7 kB / 493.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.5296, allocations: 19.81 kB / 493.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.5297, allocations: 23.55 kB / 493.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.5298, allocations: 53.2 kB / 493.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5298, allocations: 0 / 493.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002899/0.5301, allocations: 130.8 kB / 494.1 MB, free: 5.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.5302, allocations: 41.56 kB / 494.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5302, allocations: 0 / 494.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5302, allocations: 4 kB / 494.1 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.5303, allocations: 12.06 kB / 494.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5303, allocations: 0 / 494.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.5304, allocations: 4 kB / 494.1 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.5305, allocations: 7.953 kB / 494.1 MB, free: 5.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001132/0.5306, allocations: 130.7 kB / 494.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.5306, allocations: 7.906 kB / 494.3 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.5309, allocations: 93.55 kB / 494.4 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.5309, allocations: 8.734 kB / 494.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5309, allocations: 0 / 494.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5309, allocations: 0 / 494.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.5314, allocations: 372.7 kB / 494.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5314, allocations: 0 / 494.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.5315, allocations: 8 kB / 494.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.5315, allocations: 0 / 494.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5315, allocations: 0 / 494.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5315, allocations: 4.094 kB / 494.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5315, allocations: 7.938 kB / 494.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.5317, allocations: 182.6 kB / 494.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.5318, allocations: 92.95 kB / 495 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.5318, allocations: 3.812 kB / 495 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.5319, allocations: 0 / 495 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.532, allocations: 7.984 kB / 495 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.532, allocations: 4 kB / 495 MB, free: 4.562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.5322, allocations: 162.7 kB / 495.2 MB, free: 4.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5322, allocations: 0 / 495.2 MB, free: 4.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.5326, allocations: 39.92 kB / 495.2 MB, free: 4.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001303/0.5339, allocations: 0.9769 MB / 496.2 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.5342, allocations: 118.6 kB / 496.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5342, allocations: 0 / 496.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.5343, allocations: 15.88 kB / 496.3 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.5347, allocations: 15.86 kB / 496.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.5355, allocations: 492.1 kB / 496.8 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.5357, allocations: 0.7082 MB / 497.5 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.5358, allocations: 8 kB / 497.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.5359, allocations: 38.98 kB / 497.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5359, allocations: 0 / 497.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.5579, allocations: 2.844 MB / 0.4887 GB, free: 15.3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.5582, allocations: 213.4 kB / 0.4889 GB, free: 15.06 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.983, allocations: 0 / 0.4889 GB, free: 15.06 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat