Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 188.9 kB / 16.09 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 226.5 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007417/0.0007417, allocations: 92.91 kB / 295.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2794/0.2794, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002448/0.0002449, allocations: 16 kB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2626, allocations: 62.96 MB / 0.516 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.001885/0.2646, allocations: 1.594 MB / 0.5175 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2659, allocations: 1.076 MB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.2659, allocations: 0 / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.2664, allocations: 217.3 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.2667, allocations: 180.6 kB / 0.519 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.267, allocations: 160.4 kB / 0.5191 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.2673, allocations: 212.4 kB / 0.5193 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2674, allocations: 27.89 kB / 0.5193 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2675, allocations: 106.4 kB / 0.5194 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.2677, allocations: 129.8 kB / 0.5196 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.2677, allocations: 6 kB / 0.5196 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.2678, allocations: 54.22 kB / 0.5196 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.2679, allocations: 56.55 kB / 0.5197 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.268, allocations: 112.4 kB / 0.5198 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2682, allocations: 178.2 kB / 0.52 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2682, allocations: 2.938 kB / 0.52 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2682, allocations: 0 / 0.52 GB, free: 34.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2682, allocations: 0 / 0.52 GB, free: 34.79 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006241/0.2688, allocations: 0.5204 MB / 0.5205 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2689, allocations: 9 kB / 0.5205 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.2689, allocations: 41.22 kB / 0.5205 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.269, allocations: 36.08 kB / 0.5205 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.2693, allocations: 286.8 kB / 0.5208 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2693, allocations: 7.344 kB / 0.5208 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2693, allocations: 9.875 kB / 0.5208 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.2696, allocations: 110.5 kB / 0.5209 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2696, allocations: 0 / 0.5209 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2696, allocations: 10.69 kB / 0.521 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2696, allocations: 0 / 0.521 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2697, allocations: 47.2 kB / 0.521 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.2702, allocations: 481.5 kB / 0.5215 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.2705, allocations: 131.2 kB / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.2706, allocations: 40.95 kB / 0.5216 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2706, allocations: 6.875 kB / 0.5216 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.2708, allocations: 112 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.2708, allocations: 0 / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.2719, allocations: 0.4995 MB / 0.5222 GB, free: 33.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2719, allocations: 83.36 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.2723, allocations: 443.5 kB / 0.5227 GB, free: 32.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2723, allocations: 32.64 kB / 0.5228 GB, free: 32.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.2724, allocations: 161.3 kB / 0.5229 GB, free: 32.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.2724, allocations: 74.36 kB / 0.523 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.2724, allocations: 0 / 0.523 GB, free: 32.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.2725, allocations: 348.2 kB / 0.5233 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2726, allocations: 53.91 kB / 0.5234 GB, free: 32.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2727, allocations: 88.36 kB / 0.5234 GB, free: 32.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2729, allocations: 164 kB / 0.5236 GB, free: 32.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2729, allocations: 0 / 0.5236 GB, free: 32.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003248/0.2733, allocations: 238.8 kB / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2733, allocations: 5.531 kB / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2733, allocations: 0 / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2733, allocations: 6.016 kB / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2734, allocations: 44.86 kB / 0.5239 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2735, allocations: 2.938 kB / 0.5239 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.2735, allocations: 16.28 kB / 0.5239 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2736, allocations: 7.688 kB / 0.5239 GB, free: 31.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001119/0.2737, allocations: 168.6 kB / 0.5241 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2737, allocations: 33.12 kB / 0.5241 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.2738, allocations: 42.23 kB / 0.5241 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2738, allocations: 2.281 kB / 0.5241 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2738, allocations: 6.406 kB / 0.5242 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2738, allocations: 0 / 0.5242 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.2744, allocations: 0.7326 MB / 0.5249 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2745, allocations: 0 / 0.5249 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.2745, allocations: 30.53 kB / 0.5249 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2745, allocations: 6.891 kB / 0.5249 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2746, allocations: 17.08 kB / 0.5249 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2746, allocations: 2.719 kB / 0.5249 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2746, allocations: 3.938 kB / 0.5249 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.2749, allocations: 427.6 kB / 0.5253 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.275, allocations: 108.1 kB / 0.5254 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.275, allocations: 12.62 kB / 0.5254 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2751, allocations: 9.125 kB / 0.5255 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2752, allocations: 26.39 kB / 0.5255 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.2752, allocations: 14.44 kB / 0.5255 GB, free: 30.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2754, allocations: 332.9 kB / 0.5258 GB, free: 30.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2754, allocations: 0 / 0.5258 GB, free: 30.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.2758, allocations: 48.19 kB / 0.5259 GB, free: 30.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001373/0.2771, allocations: 1.354 MB / 0.5272 GB, free: 29.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.2774, allocations: 164 kB / 0.5273 GB, free: 29.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2774, allocations: 0 / 0.5273 GB, free: 29.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2775, allocations: 80.33 kB / 0.5274 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.2781, allocations: 60.8 kB / 0.5275 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.28, allocations: 1.731 MB / 0.5292 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2802, allocations: 0.778 MB / 0.5299 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2803, allocations: 98.44 kB / 0.53 GB, free: 27.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2803, allocations: 0 / 0.53 GB, free: 27.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.06, allocations: 4.617 MB / 0.5345 GB, free: 27.18 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches