Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test60",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.01202/0.01202, allocations: 165.5 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.688/1.688, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001966/0.001965, allocations: 107.4 kB / 226.2 MB, free: 10.11 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.4283/0.4283, allocations: 38.06 MB / 303.7 MB, free: 42.81 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004771, allocations: 15.98 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5144, allocations: 76.08 MB / 487.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5147, allocations: 75.84 kB / 487.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.5334, allocations: 4.958 MB / 492.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5334, allocations: 0 / 492.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.5334, allocations: 4 kB / 492.8 MB, free: 7.684 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.0005432/0.534, allocations: 427.2 kB / 493.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5341, allocations: 12.03 kB / 493.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.5341, allocations: 34.44 kB / 493.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.5342, allocations: 11.89 kB / 493.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5344, allocations: 190.1 kB / 493.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5345, allocations: 0 / 493.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.5345, allocations: 7.938 kB / 493.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.5347, allocations: 59.02 kB / 493.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5347, allocations: 0 / 493.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5348, allocations: 4 kB / 493.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5348, allocations: 4 kB / 493.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.5349, allocations: 16.89 kB / 493.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.5353, allocations: 284.1 kB / 493.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.5356, allocations: 42.38 kB / 493.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.5357, allocations: 0 / 493.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.5358, allocations: 59.31 kB / 493.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.5358, allocations: 0 / 493.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005534/0.5364, allocations: 117.3 kB / 494.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5365, allocations: 77.11 kB / 494.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.5366, allocations: 138.5 kB / 494.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.5367, allocations: 29.7 kB / 494.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.5367, allocations: 91.12 kB / 494.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.5368, allocations: 19.73 kB / 494.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5368, allocations: 4 kB / 494.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.5369, allocations: 322.1 kB / 494.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.537, allocations: 16.38 kB / 494.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.5371, allocations: 48.08 kB / 494.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.5372, allocations: 48.52 kB / 494.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5372, allocations: 0 / 494.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003099/0.5376, allocations: 124.8 kB / 495 MB, free: 5.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.5376, allocations: 33.7 kB / 495 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5376, allocations: 4.031 kB / 495 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5377, allocations: 0 / 495 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.5378, allocations: 15.92 kB / 495 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5378, allocations: 0 / 495 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.5379, allocations: 4.281 kB / 495 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5379, allocations: 4.016 kB / 495 MB, free: 5.367 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.0001017/0.538, allocations: 118.7 kB / 495.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.5381, allocations: 11.98 kB / 495.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.5384, allocations: 102 kB / 495.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5384, allocations: 0 / 495.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5384, allocations: 0 / 495.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5384, allocations: 0 / 495.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.5389, allocations: 342.9 kB / 495.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.539, allocations: 0 / 495.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.539, allocations: 8 kB / 495.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.539, allocations: 0 / 495.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5391, allocations: 0 / 495.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5391, allocations: 7.938 kB / 495.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5391, allocations: 160 / 495.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.5394, allocations: 179.3 kB / 495.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.5394, allocations: 85.02 kB / 495.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.5395, allocations: 7.641 kB / 495.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.5396, allocations: 7.938 kB / 495.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.5397, allocations: 0 / 495.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5397, allocations: 4 kB / 495.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.5399, allocations: 116.6 kB / 496 MB, free: 4.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5399, allocations: 0 / 496 MB, free: 4.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006363/0.5405, allocations: 45.75 kB / 496 MB, free: 4.332 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.001972/0.5425, allocations: 1.034 MB / 497.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.5428, allocations: 105.1 kB / 497.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5428, allocations: 4 kB / 497.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.5429, allocations: 26.11 kB / 497.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.5434, allocations: 27.06 kB / 497.2 MB, free: 3.23 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.5467, allocations: 1.115 MB / 498.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.5469, allocations: 0.6926 MB / 499 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.356e-05/0.547, allocations: 16.12 kB / 499 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.5471, allocations: 21.92 kB / 499.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5471, allocations: 0 / 499.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/0.6564, allocations: 2.828 MB / 0.4901 GB, free: 14.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.6568, allocations: 214.6 kB / 0.4903 GB, free: 14.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.923, allocations: 0 / 0.4903 GB, free: 14.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat