Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000849/0.0008487, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007694/0.0007694, allocations: 97.62 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2638/0.2638, allocations: 44.16 MB / 388.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 12 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09065/0.3372, allocations: 87.96 MB / 0.5966 GB, free: 7.105 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.3374, allocations: 79.94 kB / 0.5967 GB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008837/0.3463, allocations: 3.757 MB / 0.6004 GB, free: 3.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3463, allocations: 0 / 0.6004 GB, free: 3.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3463, allocations: 4 kB / 0.6004 GB, free: 3.266 MB / 410.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.0003207/0.3467, allocations: 399.1 kB / 0.6007 GB, free: 2.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.3467, allocations: 12.03 kB / 0.6008 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3467, allocations: 8.844 kB / 0.6008 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3469, allocations: 197.7 kB / 0.601 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3469, allocations: 384 / 0.601 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3469, allocations: 384 / 0.601 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3471, allocations: 50.25 kB / 0.601 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3471, allocations: 8.125 kB / 0.601 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.3471, allocations: 7.938 kB / 0.601 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3471, allocations: 3.984 kB / 0.601 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.3472, allocations: 23.98 kB / 0.601 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.3475, allocations: 269 kB / 0.6013 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3477, allocations: 54.44 kB / 0.6014 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3477, allocations: 20.94 kB / 0.6014 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3477, allocations: 0 / 0.6014 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.3478, allocations: 30.56 kB / 0.6014 GB, free: 2.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3478, allocations: 3.938 kB / 0.6014 GB, free: 2.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004634/0.3482, allocations: 161.2 kB / 0.6016 GB, free: 1.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.3483, allocations: 51.41 kB / 0.6016 GB, free: 1.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3484, allocations: 164.7 kB / 0.6018 GB, free: 1.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3484, allocations: 29.7 kB / 0.6018 GB, free: 1.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.3485, allocations: 100 kB / 0.6019 GB, free: 1.504 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3485, allocations: 19.75 kB / 0.6019 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.3485, allocations: 0 / 0.6019 GB, free: 1.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.3486, allocations: 326.8 kB / 0.6022 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.3487, allocations: 19.98 kB / 0.6022 GB, free: 1.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.3487, allocations: 27.98 kB / 0.6023 GB, free: 1.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.3489, allocations: 53.02 kB / 0.6023 GB, free: 1.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3489, allocations: 0 / 0.6023 GB, free: 1.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001629/0.349, allocations: 93.52 kB / 0.6024 GB, free: 0.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3491, allocations: 4 kB / 0.6024 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3491, allocations: 0 / 0.6024 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.3491, allocations: 0 / 0.6024 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.3492, allocations: 19.98 kB / 0.6024 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3492, allocations: 0 / 0.6024 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.3492, allocations: 11.94 kB / 0.6024 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3492, allocations: 4 kB / 0.6024 GB, free: 0.918 MB / 410.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 7.145e-05/0.3493, allocations: 126.3 kB / 0.6026 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3493, allocations: 7.906 kB / 0.6026 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.3496, allocations: 101.9 kB / 0.6027 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3496, allocations: 8 kB / 0.6027 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.3496, allocations: 0 / 0.6027 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3496, allocations: 0 / 0.6027 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.35, allocations: 358.5 kB / 0.603 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.35, allocations: 0 / 0.603 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.35, allocations: 27.92 kB / 0.603 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.35, allocations: 0 / 0.603 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.35, allocations: 0 / 0.603 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3501, allocations: 0 / 0.603 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3501, allocations: 0 / 0.603 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3503, allocations: 191.6 kB / 0.6032 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.3503, allocations: 92.94 kB / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3503, allocations: 4 kB / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.3504, allocations: 4 kB / 0.6033 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.3505, allocations: 11.92 kB / 0.6033 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3505, allocations: 4 kB / 0.6033 GB, free: 15.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.3506, allocations: 123.2 kB / 0.6035 GB, free: 15.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3506, allocations: 0 / 0.6035 GB, free: 15.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.3508, allocations: 20 kB / 0.6035 GB, free: 15.76 MB / 426.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.0007594/0.3516, allocations: 410.4 kB / 0.6039 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3517, allocations: 55.97 kB / 0.6039 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3517, allocations: 0 / 0.6039 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.3518, allocations: 27.98 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3521, allocations: 19.97 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.3524, allocations: 213.2 kB / 0.6042 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.3526, allocations: 0.6965 MB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3527, allocations: 11.98 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.3527, allocations: 11.44 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3527, allocations: 0 / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of Templates: time 0.002826/0.3556, allocations: 1.068 MB / 0.6059 GB, free: 13.36 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches