Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008856/0.0008856, allocations: 200.9 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.298/1.298, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007602/0.0007603, allocations: 92.16 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.187/0.187, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002591, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09113, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001802/0.09296, allocations: 1.513 MB / 0.5168 GB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.09433, allocations: 1.026 MB / 0.5178 GB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.09441, allocations: 3.938 kB / 0.5178 GB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.184/0.2784, allocations: 297 kB / 0.5181 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005669/0.279, allocations: 229 kB / 0.5183 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.2797, allocations: 145.3 kB / 0.5185 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.2801, allocations: 218.4 kB / 0.5187 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.2802, allocations: 13.3 kB / 0.5187 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.2804, allocations: 118.9 kB / 0.5188 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.2807, allocations: 171.4 kB / 0.519 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2807, allocations: 3.812 kB / 0.519 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2808, allocations: 36.3 kB / 0.519 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.281, allocations: 136 kB / 0.5191 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.2811, allocations: 79 kB / 0.5192 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.2815, allocations: 282.3 kB / 0.5195 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2816, allocations: 1.219 kB / 0.5195 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2816, allocations: 0 / 0.5195 GB, free: 9.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2816, allocations: 0 / 0.5195 GB, free: 9.816 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.0009001/0.2825, allocations: 0.6848 MB / 0.5201 GB, free: 9.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2825, allocations: 8.953 kB / 0.5201 GB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.2826, allocations: 50.31 kB / 0.5202 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.2832, allocations: 436.6 kB / 0.5206 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2832, allocations: 6.656 kB / 0.5206 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2832, allocations: 9.953 kB / 0.5206 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2834, allocations: 87.06 kB / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2834, allocations: 0 / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2835, allocations: 1.812 kB / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2835, allocations: 1.719 kB / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.2836, allocations: 27.28 kB / 0.5207 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.284, allocations: 387.8 kB / 0.5211 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.2842, allocations: 105.1 kB / 0.5212 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.672e-05/0.2843, allocations: 37.75 kB / 0.5212 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2843, allocations: 5.844 kB / 0.5212 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.2846, allocations: 111.2 kB / 0.5214 GB, free: 8.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.2846, allocations: 0 / 0.5214 GB, free: 8.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004717/0.2851, allocations: 198.5 kB / 0.5215 GB, free: 8.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2851, allocations: 80.19 kB / 0.5216 GB, free: 8.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2864, allocations: 1.055 MB / 0.5226 GB, free: 8.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2864, allocations: 31.06 kB / 0.5227 GB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2866, allocations: 234.5 kB / 0.5229 GB, free: 8.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.2866, allocations: 33.83 kB / 0.5229 GB, free: 8.184 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.2866, allocations: 3.531 kB / 0.5229 GB, free: 8.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2867, allocations: 370.7 kB / 0.5233 GB, free: 7.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.2868, allocations: 27.16 kB / 0.5233 GB, free: 7.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.832e-05/0.2869, allocations: 63.16 kB / 0.5234 GB, free: 7.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.287, allocations: 38.31 kB / 0.5234 GB, free: 7.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.287, allocations: 0 / 0.5234 GB, free: 7.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002794/0.2873, allocations: 167.7 kB / 0.5236 GB, free: 7.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2873, allocations: 5.531 kB / 0.5236 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2873, allocations: 1.812 kB / 0.5236 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2874, allocations: 5.031 kB / 0.5236 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2875, allocations: 28 kB / 0.5236 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2875, allocations: 3.078 kB / 0.5236 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2876, allocations: 9.391 kB / 0.5236 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2876, allocations: 9.188 kB / 0.5236 GB, free: 7.754 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.0002236/0.2879, allocations: 229.6 kB / 0.5239 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.2879, allocations: 50.95 kB / 0.5239 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2881, allocations: 65.52 kB / 0.524 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2881, allocations: 1.969 kB / 0.524 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2881, allocations: 0.9688 kB / 0.524 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2881, allocations: 6 kB / 0.524 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.2885, allocations: 346.2 kB / 0.5243 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2885, allocations: 3.953 kB / 0.5243 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.2885, allocations: 14.25 kB / 0.5243 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2885, allocations: 2.469 kB / 0.5243 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2886, allocations: 2.688 kB / 0.5243 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2886, allocations: 1.859 kB / 0.5243 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2886, allocations: 0 / 0.5243 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.2889, allocations: 204.2 kB / 0.5245 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.289, allocations: 148.5 kB / 0.5247 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.2891, allocations: 4.031 kB / 0.5247 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.2892, allocations: 6.391 kB / 0.5247 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2892, allocations: 10.2 kB / 0.5247 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2893, allocations: 9.969 kB / 0.5247 GB, free: 7.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.2903, allocations: 0.7878 MB / 0.5255 GB, free: 7.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2903, allocations: 0 / 0.5255 GB, free: 7.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.2907, allocations: 41.52 kB / 0.5255 GB, free: 7.016 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.0009272/0.2916, allocations: 410.9 kB / 0.5259 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.2918, allocations: 79.45 kB / 0.526 GB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2918, allocations: 4.812 kB / 0.526 GB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.2919, allocations: 40.02 kB / 0.526 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.2924, allocations: 65.48 kB / 0.5261 GB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2936, allocations: 0.978 MB / 0.527 GB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.294, allocations: 0.8461 MB / 0.5279 GB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.294, allocations: 32.56 kB / 0.5279 GB, free: 5.527 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.294, allocations: 0 / 0.5279 GB, free: 5.527 MB / 346.7 MB Notification: Performance of Templates: time 0.00952/0.3036, allocations: 5.111 MB / 0.5329 GB, free: 4.816 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches