Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 176.9 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 223.6 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008238, allocations: 98.81 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3901/0.3901, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 16 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.4446, allocations: 86.37 MB / 0.5643 GB, free: 40 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.445, allocations: 79.95 kB / 0.5643 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009692/0.4547, allocations: 3.621 MB / 0.5679 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4547, allocations: 0 / 0.5679 GB, free: 12.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4548, allocations: 0 / 0.5679 GB, free: 12.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004018/0.4552, allocations: 390.8 kB / 0.5683 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4552, allocations: 12.03 kB / 0.5683 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.4553, allocations: 9.875 kB / 0.5683 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.4555, allocations: 197 kB / 0.5685 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4555, allocations: 384 / 0.5685 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.4555, allocations: 4.375 kB / 0.5685 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4557, allocations: 58.17 kB / 0.5685 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4557, allocations: 192 / 0.5685 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4557, allocations: 3.938 kB / 0.5685 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4557, allocations: 0 / 0.5685 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.4558, allocations: 27.98 kB / 0.5686 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.4562, allocations: 273 kB / 0.5688 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.4564, allocations: 50.42 kB / 0.5689 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.4565, allocations: 27.84 kB / 0.5689 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.4565, allocations: 4 kB / 0.5689 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.4565, allocations: 30.56 kB / 0.5689 GB, free: 11.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4565, allocations: 0 / 0.5689 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005464/0.4571, allocations: 157.2 kB / 0.5691 GB, free: 11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4571, allocations: 55.41 kB / 0.5691 GB, free: 10.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4573, allocations: 165.4 kB / 0.5693 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4573, allocations: 25.7 kB / 0.5693 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.4574, allocations: 104 kB / 0.5694 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.4574, allocations: 15.75 kB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4574, allocations: 3.938 kB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4575, allocations: 327 kB / 0.5697 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.4576, allocations: 19.98 kB / 0.5698 GB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.4577, allocations: 19.98 kB / 0.5698 GB, free: 10.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4578, allocations: 60.83 kB / 0.5698 GB, free: 10.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4578, allocations: 0 / 0.5698 GB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001785/0.458, allocations: 91.2 kB / 0.5699 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.458, allocations: 10.81 kB / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.458, allocations: 0 / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4581, allocations: 0 / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.4581, allocations: 15.98 kB / 0.5699 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4581, allocations: 0 / 0.5699 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.4582, allocations: 4 kB / 0.57 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4582, allocations: 4 kB / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.722e-05/0.4583, allocations: 129.8 kB / 0.5701 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.4583, allocations: 7.906 kB / 0.5701 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.4586, allocations: 101.9 kB / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4586, allocations: 0 / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4586, allocations: 0 / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4586, allocations: 4 kB / 0.5702 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.459, allocations: 363.4 kB / 0.5705 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.459, allocations: 1.031 kB / 0.5705 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.4591, allocations: 20.3 kB / 0.5706 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4591, allocations: 4 kB / 0.5706 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.4591, allocations: 4 kB / 0.5706 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4591, allocations: 4 kB / 0.5706 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4591, allocations: 0 / 0.5706 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4594, allocations: 187.4 kB / 0.5707 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4594, allocations: 89 kB / 0.5708 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.4595, allocations: 4 kB / 0.5708 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.4595, allocations: 4 kB / 0.5708 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4596, allocations: 11.92 kB / 0.5708 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4596, allocations: 3.938 kB / 0.5709 GB, free: 9.035 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4597, allocations: 130.7 kB / 0.571 GB, free: 8.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4597, allocations: 0 / 0.571 GB, free: 8.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.4599, allocations: 19.94 kB / 0.571 GB, free: 8.891 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008591/0.4608, allocations: 410.4 kB / 0.5714 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.461, allocations: 51.97 kB / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.461, allocations: 0 / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.4611, allocations: 31.98 kB / 0.5715 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4614, allocations: 15.92 kB / 0.5715 GB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.4618, allocations: 237.1 kB / 0.5717 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4621, allocations: 0.7004 MB / 0.5724 GB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.4621, allocations: 15.42 kB / 0.5724 GB, free: 7.477 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4622, allocations: 0 / 0.5724 GB, free: 7.477 MB / 394.7 MB Notification: Performance of Templates: time 0.003061/0.4652, allocations: 1.421 MB / 0.5738 GB, free: 6.059 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches