Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test14",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.009645/0.009645, allocations: 167.2 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.62/1.62, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001935/0.001935, allocations: 111.3 kB / 226.2 MB, free: 10.09 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.4979/0.4979, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 12 kB / 363 MB, free: 5.492 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.4034/0.5073, allocations: 77.56 MB / 489.3 MB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5076, allocations: 70.91 kB / 489.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.5284, allocations: 4.024 MB / 493.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5285, allocations: 0 / 493.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.5285, allocations: 4 kB / 493.4 MB, free: 6.367 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001314/0.5299, allocations: 0.5724 MB / 493.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5299, allocations: 12.03 kB / 493.9 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.53, allocations: 38.48 kB / 494 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.5301, allocations: 15.81 kB / 494 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.5305, allocations: 221.5 kB / 494.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5306, allocations: 11.98 kB / 494.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.5306, allocations: 15.86 kB / 494.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.5314, allocations: 121.4 kB / 494.4 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5314, allocations: 0 / 494.4 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.5314, allocations: 11.8 kB / 494.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5315, allocations: 0 / 494.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.5325, allocations: 128.4 kB / 494.5 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.5339, allocations: 439 kB / 494.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.5352, allocations: 164.2 kB / 495.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.5353, allocations: 0 / 495.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000724/0.536, allocations: 146.3 kB / 495.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.536, allocations: 0 / 495.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001789/0.5378, allocations: 268.4 kB / 495.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5379, allocations: 55.36 kB / 495.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.5382, allocations: 185.3 kB / 495.7 MB, free: 4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.5382, allocations: 29.7 kB / 495.7 MB, free: 3.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.5383, allocations: 109.6 kB / 495.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.5384, allocations: 38.48 kB / 495.9 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.5385, allocations: 0 / 495.9 MB, free: 3.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.5386, allocations: 325.8 kB / 496.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.5391, allocations: 78.44 kB / 496.3 MB, free: 3.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.5397, allocations: 107.3 kB / 496.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.5403, allocations: 132.5 kB / 496.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5403, allocations: 0 / 496.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001322/0.5417, allocations: 306.4 kB / 496.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.5417, allocations: 62.59 kB / 496.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5418, allocations: 0 / 496.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.5418, allocations: 0 / 496.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.5422, allocations: 36 kB / 496.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5422, allocations: 7.938 kB / 496.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.5426, allocations: 43.14 kB / 497 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.5427, allocations: 4 kB / 497 MB, free: 2.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001731/0.5429, allocations: 133.4 kB / 497.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.5429, allocations: 15.81 kB / 497.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.5442, allocations: 210.8 kB / 497.3 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5442, allocations: 7.938 kB / 497.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.5442, allocations: 0 / 497.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.5442, allocations: 0 / 497.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.5445, allocations: 230.2 kB / 497.6 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5445, allocations: 0 / 497.6 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.5449, allocations: 31.97 kB / 497.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.5449, allocations: 4 kB / 497.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.545, allocations: 8.438 kB / 497.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.545, allocations: 0 / 497.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.545, allocations: 0 / 497.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.5468, allocations: 323 kB / 497.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.5469, allocations: 96.25 kB / 498 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.547, allocations: 0 / 498 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.5474, allocations: 35.41 kB / 498 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.5476, allocations: 23.41 kB / 498.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.5476, allocations: 0 / 498.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.5479, allocations: 148.7 kB / 498.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5479, allocations: 7.938 kB / 498.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000627/0.5485, allocations: 51.48 kB / 498.3 MB, free: 1.555 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.003231/0.5518, allocations: 1.073 MB / 499.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.5531, allocations: 297.2 kB / 499.6 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5531, allocations: 4 kB / 499.6 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.5537, allocations: 94.3 kB / 499.7 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.5542, allocations: 23.36 kB / 499.8 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.556, allocations: 0.7238 MB / 0.4887 GB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5564, allocations: 0.7158 MB / 0.4894 GB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.5566, allocations: 24.64 kB / 0.4895 GB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.5568, allocations: 42.42 kB / 0.4895 GB, free: 14.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5569, allocations: 3.938 kB / 0.4895 GB, free: 14.67 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.6067, allocations: 3.892 MB / 0.4933 GB, free: 10.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.607, allocations: 210 kB / 0.4935 GB, free: 10.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.079, allocations: 0 / 0.4935 GB, free: 10.58 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat