Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 201.2 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007544/0.0007544, allocations: 87.38 kB / 295.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1738/0.1738, allocations: 44.84 MB / 392 MB, free: 9.355 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09072, allocations: 62.97 MB / 0.5153 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001852/0.09262, allocations: 1.513 MB / 0.5168 GB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.09406, allocations: 1.03 MB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.09414, allocations: 7.938 kB / 0.5178 GB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1761/0.2703, allocations: 287 kB / 0.5181 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.2708, allocations: 223.4 kB / 0.5183 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.2713, allocations: 143.8 kB / 0.5184 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.2716, allocations: 215.7 kB / 0.5187 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.2716, allocations: 13.69 kB / 0.5187 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2718, allocations: 119.4 kB / 0.5188 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.272, allocations: 162.1 kB / 0.5189 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.272, allocations: 5.812 kB / 0.5189 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-05/0.2721, allocations: 37.19 kB / 0.519 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2723, allocations: 132.3 kB / 0.5191 GB, free: 9.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.2723, allocations: 79.05 kB / 0.5192 GB, free: 9.852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2728, allocations: 276.5 kB / 0.5194 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2728, allocations: 0 / 0.5194 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2728, allocations: 0 / 0.5194 GB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.2728, allocations: 4.094 kB / 0.5194 GB, free: 9.828 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007928/0.2736, allocations: 0.6749 MB / 0.5201 GB, free: 9.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2736, allocations: 9.312 kB / 0.5201 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.2737, allocations: 49.08 kB / 0.5202 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.2742, allocations: 426.6 kB / 0.5206 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.2742, allocations: 3.312 kB / 0.5206 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2742, allocations: 2.188 kB / 0.5206 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2744, allocations: 90.12 kB / 0.5207 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2744, allocations: 0 / 0.5207 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2744, allocations: 4.156 kB / 0.5207 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2744, allocations: 1.438 kB / 0.5207 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2746, allocations: 28.16 kB / 0.5207 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.2749, allocations: 380.8 kB / 0.5211 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2751, allocations: 110.6 kB / 0.5212 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.2752, allocations: 40.98 kB / 0.5212 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2752, allocations: 0 / 0.5212 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.2755, allocations: 115 kB / 0.5213 GB, free: 8.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2755, allocations: 0 / 0.5213 GB, free: 8.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004103/0.2759, allocations: 198.9 kB / 0.5215 GB, free: 8.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2759, allocations: 80.66 kB / 0.5216 GB, free: 8.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.277, allocations: 1.025 MB / 0.5226 GB, free: 8.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.277, allocations: 31.33 kB / 0.5226 GB, free: 8.309 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2771, allocations: 234.3 kB / 0.5228 GB, free: 8.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2772, allocations: 32.52 kB / 0.5229 GB, free: 8.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.2772, allocations: 0 / 0.5229 GB, free: 8.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.2773, allocations: 370.1 kB / 0.5232 GB, free: 7.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.2773, allocations: 27.33 kB / 0.5232 GB, free: 7.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.2774, allocations: 59.78 kB / 0.5233 GB, free: 7.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.2775, allocations: 42.88 kB / 0.5233 GB, free: 7.852 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2775, allocations: 0 / 0.5233 GB, free: 7.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002484/0.2778, allocations: 161.9 kB / 0.5235 GB, free: 7.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2778, allocations: 6.156 kB / 0.5235 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2778, allocations: 1.156 kB / 0.5235 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2778, allocations: 3.359 kB / 0.5235 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2779, allocations: 20.89 kB / 0.5235 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2779, allocations: 5.828 kB / 0.5235 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.278, allocations: 18.84 kB / 0.5235 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2781, allocations: 4.375 kB / 0.5236 GB, free: 7.777 MB / 346.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001831/0.2782, allocations: 228 kB / 0.5238 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.2783, allocations: 50.42 kB / 0.5238 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.2784, allocations: 56.56 kB / 0.5239 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2784, allocations: 6.016 kB / 0.5239 GB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2784, allocations: 0 / 0.5239 GB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2784, allocations: 2.453 kB / 0.5239 GB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2787, allocations: 340.7 kB / 0.5242 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2787, allocations: 6.438 kB / 0.5242 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.2788, allocations: 10.5 kB / 0.5242 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2788, allocations: 0 / 0.5242 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2788, allocations: 8.125 kB / 0.5242 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2788, allocations: 0 / 0.5242 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2788, allocations: 2 kB / 0.5242 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.2791, allocations: 204.7 kB / 0.5244 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2792, allocations: 153.7 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.2792, allocations: 2.5 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.2793, allocations: 11.86 kB / 0.5246 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2794, allocations: 6.641 kB / 0.5246 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2794, allocations: 9.594 kB / 0.5246 GB, free: 7.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007967/0.2802, allocations: 0.7607 MB / 0.5253 GB, free: 7.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 0 / 0.5253 GB, free: 7.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.2805, allocations: 49.94 kB / 0.5254 GB, free: 7.035 MB / 346.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0007478/0.2812, allocations: 409.1 kB / 0.5258 GB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.2814, allocations: 80.08 kB / 0.5259 GB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2814, allocations: 0 / 0.5259 GB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/0.2815, allocations: 41.45 kB / 0.5259 GB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.2819, allocations: 66.23 kB / 0.526 GB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.283, allocations: 0.9427 MB / 0.5269 GB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2833, allocations: 0.845 MB / 0.5277 GB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.2833, allocations: 29.98 kB / 0.5277 GB, free: 5.57 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2833, allocations: 0 / 0.5277 GB, free: 5.57 MB / 346.7 MB Notification: Performance of Templates: time 0.008193/0.2915, allocations: 5.015 MB / 0.5326 GB, free: 4.879 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches