Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009834/0.0009834, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008545/0.0008544, allocations: 99.88 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3295/0.3295, allocations: 44.84 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2722, allocations: 62.97 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001494/0.2738, allocations: 1.426 MB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.2749, allocations: 0.9471 MB / 0.5182 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.2749, allocations: 0 / 0.5182 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.2752, allocations: 36.97 kB / 0.5182 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.2754, allocations: 76.66 kB / 0.5183 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.2756, allocations: 96.05 kB / 0.5184 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.2757, allocations: 93.72 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.2758, allocations: 10.69 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.2759, allocations: 40.88 kB / 0.5185 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.2759, allocations: 30.31 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.276, allocations: 2.969 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.276, allocations: 38.72 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.2761, allocations: 20.03 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.2761, allocations: 62.41 kB / 0.5187 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2763, allocations: 85.8 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2763, allocations: 0 / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2763, allocations: 3.938 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.2763, allocations: 2.906 kB / 0.5188 GB, free: 35.18 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.000369/0.2767, allocations: 398.6 kB / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.2767, allocations: 8.875 kB / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2767, allocations: 15.03 kB / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2769, allocations: 216 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2769, allocations: 384 / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2769, allocations: 7.281 kB / 0.5194 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2771, allocations: 55.06 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2771, allocations: 0 / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2771, allocations: 7.062 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2771, allocations: 3.938 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.2772, allocations: 16.14 kB / 0.5195 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.2774, allocations: 292.6 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.2776, allocations: 56.34 kB / 0.5198 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.2776, allocations: 24.89 kB / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2777, allocations: 0 / 0.5198 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.2778, allocations: 68.66 kB / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.2778, allocations: 0 / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004323/0.2783, allocations: 176.8 kB / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.2783, allocations: 54.19 kB / 0.5201 GB, free: 33.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2784, allocations: 197.5 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2784, allocations: 29.7 kB / 0.5203 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.2785, allocations: 104.7 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.2785, allocations: 32.56 kB / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.2785, allocations: 0 / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.2786, allocations: 328.9 kB / 0.5208 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.2786, allocations: 18.16 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.2787, allocations: 34.69 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.2788, allocations: 61.52 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2788, allocations: 0 / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001433/0.2789, allocations: 100.8 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.279, allocations: 5.969 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.279, allocations: 0 / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.279, allocations: 3 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.2791, allocations: 15.75 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2791, allocations: 7.094 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.2791, allocations: 18.22 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2791, allocations: 3.938 kB / 0.521 GB, free: 33.18 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 6.647e-05/0.2792, allocations: 124.9 kB / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.2792, allocations: 14.78 kB / 0.5212 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.2793, allocations: 15.34 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2793, allocations: 2.938 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2793, allocations: 0 / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2793, allocations: 7.172 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.2796, allocations: 396.3 kB / 0.5216 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2796, allocations: 0 / 0.5216 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.2797, allocations: 12.38 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2797, allocations: 0 / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2797, allocations: 6.656 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2797, allocations: 0 / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2797, allocations: 0 / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.2799, allocations: 215.1 kB / 0.5218 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2799, allocations: 87.11 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2799, allocations: 14.52 kB / 0.5219 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.28, allocations: 2.719 kB / 0.5219 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.28, allocations: 6.5 kB / 0.5219 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2801, allocations: 3 kB / 0.5219 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.209e-05/0.2802, allocations: 145.6 kB / 0.522 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2802, allocations: 4 kB / 0.522 GB, free: 32.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.2804, allocations: 28.06 kB / 0.5221 GB, free: 32.29 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.0008605/0.2813, allocations: 451 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.2814, allocations: 67.25 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2814, allocations: 0 / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.2815, allocations: 30.27 kB / 0.5226 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2818, allocations: 26.02 kB / 0.5226 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.2822, allocations: 286.8 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2823, allocations: 0.7025 MB / 0.5236 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.2823, allocations: 19.38 kB / 0.5236 GB, free: 31.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2823, allocations: 0 / 0.5236 GB, free: 31.09 MB / 378.7 MB Notification: Performance of Templates: time 0.002754/0.2851, allocations: 1.933 MB / 0.5255 GB, free: 30.88 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches