Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 195.7 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.5 MB / 243.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007197/0.0007198, allocations: 97.91 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3715/0.3715, allocations: 44.81 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3353, allocations: 62.95 MB / 0.516 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001719/0.3371, allocations: 1.422 MB / 0.5174 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3383, allocations: 0.9535 MB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.3383, allocations: 3.938 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.3386, allocations: 34.27 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.3388, allocations: 77.22 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3391, allocations: 91.7 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3392, allocations: 93.47 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.3393, allocations: 13.25 kB / 0.5186 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.3394, allocations: 46.78 kB / 0.5186 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.3395, allocations: 28 kB / 0.5187 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3395, allocations: 3.781 kB / 0.5187 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.3396, allocations: 40.86 kB / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.3396, allocations: 17.14 kB / 0.5187 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.3397, allocations: 54.92 kB / 0.5188 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3398, allocations: 93.73 kB / 0.5189 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3398, allocations: 0 / 0.5189 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3398, allocations: 0 / 0.5189 GB, free: 35.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3399, allocations: 0 / 0.5189 GB, free: 35.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004247/0.3403, allocations: 392.2 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3403, allocations: 11.97 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.3404, allocations: 34.08 kB / 0.5193 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3404, allocations: 14.78 kB / 0.5193 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3406, allocations: 213.4 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3406, allocations: 4.375 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3406, allocations: 6.938 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3408, allocations: 55.45 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3408, allocations: 3.938 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3408, allocations: 0 / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3408, allocations: 2.938 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.3409, allocations: 16.19 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.3412, allocations: 295.9 kB / 0.5199 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3413, allocations: 53.86 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.3414, allocations: 20.84 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3414, allocations: 2.938 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.3416, allocations: 70.28 kB / 0.52 GB, free: 34.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3416, allocations: 4 kB / 0.52 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004724/0.3421, allocations: 171.4 kB / 0.5202 GB, free: 34.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3421, allocations: 55.34 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3422, allocations: 181.8 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.3422, allocations: 28.3 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.3423, allocations: 102.3 kB / 0.5205 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3423, allocations: 28.88 kB / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.3423, allocations: 0 / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.3424, allocations: 325.2 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.3425, allocations: 22.14 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.3425, allocations: 37.14 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.568e-05/0.3426, allocations: 56.34 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3426, allocations: 3.938 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.3428, allocations: 109.4 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3428, allocations: 8.281 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3428, allocations: 0 / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3428, allocations: 0 / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.3429, allocations: 17.94 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3429, allocations: 0 / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.343, allocations: 10.08 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.343, allocations: 6.625 kB / 0.5211 GB, free: 33.34 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.868e-05/0.3431, allocations: 124.7 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3431, allocations: 11.84 kB / 0.5212 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.3432, allocations: 15.19 kB / 0.5213 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3432, allocations: 0 / 0.5213 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3432, allocations: 384 / 0.5213 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3432, allocations: 7.406 kB / 0.5213 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3435, allocations: 393 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3435, allocations: 4 kB / 0.5216 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.3436, allocations: 12.53 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3436, allocations: 7.969 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3436, allocations: 2.594 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3436, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3436, allocations: 3.984 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3438, allocations: 208.3 kB / 0.5219 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.3438, allocations: 87.61 kB / 0.522 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3438, allocations: 7 kB / 0.522 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3439, allocations: 7.234 kB / 0.522 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.344, allocations: 2.969 kB / 0.522 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.344, allocations: 13 kB / 0.522 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.663e-05/0.3441, allocations: 137.8 kB / 0.5221 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3441, allocations: 0 / 0.5221 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000237/0.3443, allocations: 24.94 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001176/0.3455, allocations: 1.095 MB / 0.5232 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.3457, allocations: 58.12 kB / 0.5233 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3457, allocations: 0 / 0.5233 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.3457, allocations: 28.09 kB / 0.5233 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3461, allocations: 26.55 kB / 0.5233 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009663/0.347, allocations: 0.7206 MB / 0.524 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3472, allocations: 0.7068 MB / 0.5247 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.3473, allocations: 34.2 kB / 0.5247 GB, free: 30.35 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3473, allocations: 0 / 0.5247 GB, free: 30.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.817/3.164, allocations: 2.244 MB / 0.5269 GB, free: 30.12 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches