Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009941/0.0009942, allocations: 183.7 kB / 18.09 MB, free: 3.617 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.185/1.185, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007474/0.0007473, allocations: 94.27 kB / 293.3 MB, free: 10.79 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.2828/0.2828, allocations: 44.15 MB / 388.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 12 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2636, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09167/0.3553, allocations: 88.29 MB / 0.5969 GB, free: 6.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.3555, allocations: 79.94 kB / 0.597 GB, free: 6.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.368, allocations: 4.404 MB / 0.6013 GB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.368, allocations: 0 / 0.6013 GB, free: 2.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.368, allocations: 4 kB / 0.6013 GB, free: 2.332 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004054/0.3684, allocations: 403 kB / 0.6017 GB, free: 1.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3685, allocations: 8.031 kB / 0.6017 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3685, allocations: 12.84 kB / 0.6017 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3688, allocations: 204.1 kB / 0.6019 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3688, allocations: 4.375 kB / 0.6019 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3688, allocations: 4.375 kB / 0.6019 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.369, allocations: 74.22 kB / 0.602 GB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.369, allocations: 4.188 kB / 0.602 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.369, allocations: 7.938 kB / 0.602 GB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.369, allocations: 0 / 0.602 GB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3692, allocations: 55.89 kB / 0.6021 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.3697, allocations: 328.7 kB / 0.6024 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3698, allocations: 70.48 kB / 0.6025 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.3699, allocations: 28.84 kB / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3699, allocations: 4 kB / 0.6025 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.37, allocations: 34.56 kB / 0.6025 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.37, allocations: 0 / 0.6025 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001104/0.3711, allocations: 349.8 kB / 0.6028 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3711, allocations: 55.34 kB / 0.6029 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3713, allocations: 154.8 kB / 0.6031 GB, free: 384 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3713, allocations: 29.69 kB / 0.6031 GB, free: 348 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3714, allocations: 96.08 kB / 0.6032 GB, free: 248 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.3714, allocations: 51.34 kB / 0.6032 GB, free: 196 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.3714, allocations: 0 / 0.6032 GB, free: 196 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3715, allocations: 322.8 kB / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3717, allocations: 51.91 kB / 0.6036 GB, free: 15.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3718, allocations: 51.34 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.372, allocations: 120.9 kB / 0.6037 GB, free: 15.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.372, allocations: 0 / 0.6037 GB, free: 15.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002973/0.3723, allocations: 149.5 kB / 0.6039 GB, free: 15.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3724, allocations: 8 kB / 0.6039 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3724, allocations: 0 / 0.6039 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3724, allocations: 4 kB / 0.6039 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3725, allocations: 43.84 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3726, allocations: 0.7031 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.3726, allocations: 4 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3726, allocations: 4 kB / 0.6039 GB, free: 15.43 MB / 426.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 (13): * Single equations (assignments): 13 * 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 9.619e-05/0.3728, allocations: 125.8 kB / 0.6041 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3728, allocations: 11.81 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.3732, allocations: 198.4 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3732, allocations: 3.938 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3732, allocations: 3.984 kB / 0.6043 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3732, allocations: 0 / 0.6043 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.3738, allocations: 0.499 MB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3738, allocations: 0 / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.3739, allocations: 35.92 kB / 0.6048 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3739, allocations: 4.031 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.374, allocations: 4 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.374, allocations: 0 / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.374, allocations: 0 / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.3742, allocations: 258.7 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.3743, allocations: 89 kB / 0.6051 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3743, allocations: 8 kB / 0.6051 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.3744, allocations: 4 kB / 0.6051 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.3744, allocations: 7.984 kB / 0.6052 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3745, allocations: 8 kB / 0.6052 GB, free: 14.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.3745, allocations: 120.9 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3746, allocations: 8 kB / 0.6053 GB, free: 13.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.3748, allocations: 31.98 kB / 0.6053 GB, free: 13.92 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008701/0.3757, allocations: 460.4 kB / 0.6058 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3759, allocations: 127.9 kB / 0.6059 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3759, allocations: 0 / 0.6059 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3761, allocations: 67.84 kB / 0.6059 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3763, allocations: 19.98 kB / 0.606 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.3768, allocations: 290.3 kB / 0.6062 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.377, allocations: 0.7083 MB / 0.6069 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.3771, allocations: 28.52 kB / 0.607 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3771, allocations: 15.44 kB / 0.607 GB, free: 12.36 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3772, allocations: 4 kB / 0.607 GB, free: 12.35 MB / 426.7 MB Notification: Performance of Templates: time 0.003408/0.3806, allocations: 1.475 MB / 0.6084 GB, free: 10.89 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches