Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000937/0.000937, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007867/0.0007867, allocations: 97.03 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1704/0.1704, allocations: 44.83 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 12 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09158, allocations: 62.94 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001747/0.09337, allocations: 1.513 MB / 0.5168 GB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.09471, allocations: 1.03 MB / 0.5178 GB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.0948, allocations: 11.88 kB / 0.5178 GB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1773/0.2721, allocations: 285.2 kB / 0.5181 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.2726, allocations: 222.6 kB / 0.5183 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.2731, allocations: 150.2 kB / 0.5184 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.2734, allocations: 217.3 kB / 0.5187 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.2734, allocations: 14.16 kB / 0.5187 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2736, allocations: 116.4 kB / 0.5188 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2738, allocations: 163.4 kB / 0.5189 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.2739, allocations: 6.031 kB / 0.5189 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.274, allocations: 38.38 kB / 0.519 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2741, allocations: 132.6 kB / 0.5191 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.2742, allocations: 77.81 kB / 0.5192 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.2745, allocations: 275.8 kB / 0.5194 GB, free: 9.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2745, allocations: 0 / 0.5194 GB, free: 9.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2745, allocations: 1.156 kB / 0.5194 GB, free: 9.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2745, allocations: 3.125 kB / 0.5194 GB, free: 9.844 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.0007178/0.2753, allocations: 0.6785 MB / 0.5201 GB, free: 9.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2753, allocations: 9.062 kB / 0.5201 GB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.2754, allocations: 49.61 kB / 0.5202 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.2758, allocations: 422.5 kB / 0.5206 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2759, allocations: 3.438 kB / 0.5206 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2759, allocations: 3.281 kB / 0.5206 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2761, allocations: 91.98 kB / 0.5207 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.2761, allocations: 1.031 kB / 0.5207 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2761, allocations: 1.531 kB / 0.5207 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2761, allocations: 1.031 kB / 0.5207 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2762, allocations: 28.83 kB / 0.5207 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.2766, allocations: 379.1 kB / 0.5211 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.2768, allocations: 111.2 kB / 0.5212 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.2769, allocations: 41.09 kB / 0.5212 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2769, allocations: 4.594 kB / 0.5212 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.2771, allocations: 114.1 kB / 0.5213 GB, free: 8.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.2771, allocations: 0 / 0.5213 GB, free: 8.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004149/0.2776, allocations: 193 kB / 0.5215 GB, free: 8.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.2776, allocations: 80.73 kB / 0.5216 GB, free: 8.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.2786, allocations: 1.024 MB / 0.5226 GB, free: 8.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2786, allocations: 30.45 kB / 0.5226 GB, free: 8.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2788, allocations: 237.2 kB / 0.5228 GB, free: 8.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.2788, allocations: 30.06 kB / 0.5229 GB, free: 8.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.2788, allocations: 1.812 kB / 0.5229 GB, free: 8.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.2789, allocations: 368.5 kB / 0.5232 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.279, allocations: 26.84 kB / 0.5232 GB, free: 7.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.2791, allocations: 54.66 kB / 0.5233 GB, free: 7.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.2792, allocations: 43.5 kB / 0.5233 GB, free: 7.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2792, allocations: 0 / 0.5233 GB, free: 7.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002638/0.2794, allocations: 168.7 kB / 0.5235 GB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2795, allocations: 4.844 kB / 0.5235 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2795, allocations: 1.25 kB / 0.5235 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2795, allocations: 2.219 kB / 0.5235 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2796, allocations: 21.08 kB / 0.5235 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2796, allocations: 9.641 kB / 0.5235 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.2797, allocations: 19.38 kB / 0.5235 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2797, allocations: 4.094 kB / 0.5236 GB, free: 7.793 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.0001906/0.2799, allocations: 227.4 kB / 0.5238 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.28, allocations: 51.31 kB / 0.5238 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.2801, allocations: 57.66 kB / 0.5239 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2801, allocations: 2.594 kB / 0.5239 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2801, allocations: 1.094 kB / 0.5239 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2801, allocations: 6.062 kB / 0.5239 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2804, allocations: 336.7 kB / 0.5242 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2804, allocations: 4.516 kB / 0.5242 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.2804, allocations: 10.3 kB / 0.5242 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2804, allocations: 1.531 kB / 0.5242 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2804, allocations: 4.453 kB / 0.5242 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2805, allocations: 3.938 kB / 0.5242 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2805, allocations: 5.766 kB / 0.5242 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.2807, allocations: 203.1 kB / 0.5244 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2808, allocations: 151.6 kB / 0.5246 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2809, allocations: 3.609 kB / 0.5246 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.281, allocations: 11.22 kB / 0.5246 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.281, allocations: 7.578 kB / 0.5246 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.281, allocations: 6.812 kB / 0.5246 GB, free: 7.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008034/0.2819, allocations: 0.7632 MB / 0.5253 GB, free: 7.062 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2819, allocations: 4 kB / 0.5253 GB, free: 7.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.2821, allocations: 45.84 kB / 0.5254 GB, free: 7.051 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.0007432/0.2829, allocations: 414.6 kB / 0.5258 GB, free: 6.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.2831, allocations: 79.64 kB / 0.5259 GB, free: 6.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2831, allocations: 0 / 0.5259 GB, free: 6.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.2832, allocations: 39.83 kB / 0.5259 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.2836, allocations: 66.58 kB / 0.526 GB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2846, allocations: 0.9426 MB / 0.5269 GB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2849, allocations: 0.845 MB / 0.5277 GB, free: 5.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.285, allocations: 29.8 kB / 0.5277 GB, free: 5.586 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.285, allocations: 0 / 0.5277 GB, free: 5.586 MB / 346.7 MB Notification: Performance of Templates: time 0.007323/0.2923, allocations: 5.006 MB / 0.5326 GB, free: 4.898 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches