Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008479/0.0008481, allocations: 179.1 kB / 18.09 MB, free: 3.746 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.227/1.227, allocations: 223.3 MB / 242.1 MB, free: 9.953 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.0008095/0.0008095, allocations: 94.47 kB / 293.3 MB, free: 10.57 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.2868/0.2868, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 61.88 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09276/0.36, allocations: 88.18 MB / 0.5968 GB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.3602, allocations: 75.94 kB / 0.5969 GB, free: 6.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01124/0.3715, allocations: 4.361 MB / 0.6012 GB, free: 2.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3715, allocations: 0 / 0.6012 GB, free: 2.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3715, allocations: 0 / 0.6012 GB, free: 2.453 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003979/0.3719, allocations: 403 kB / 0.6015 GB, free: 2.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.372, allocations: 8.031 kB / 0.6016 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.372, allocations: 8.844 kB / 0.6016 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.3722, allocations: 209.4 kB / 0.6018 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3723, allocations: 4.375 kB / 0.6018 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3723, allocations: 12.38 kB / 0.6018 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3724, allocations: 70.17 kB / 0.6018 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3725, allocations: 192 / 0.6018 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3725, allocations: 3.938 kB / 0.6019 GB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3725, allocations: 4 kB / 0.6019 GB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3726, allocations: 43.91 kB / 0.6019 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.373, allocations: 324.6 kB / 0.6022 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3731, allocations: 58.56 kB / 0.6023 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.3732, allocations: 24.84 kB / 0.6023 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3732, allocations: 7.938 kB / 0.6023 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3732, allocations: 38.5 kB / 0.6023 GB, free: 1.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3732, allocations: 0 / 0.6023 GB, free: 1.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009058/0.3742, allocations: 317.2 kB / 0.6026 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.3742, allocations: 55.41 kB / 0.6027 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3743, allocations: 155.3 kB / 0.6028 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3744, allocations: 25.7 kB / 0.6029 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.3744, allocations: 100 kB / 0.603 GB, free: 428 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.3744, allocations: 51.28 kB / 0.603 GB, free: 376 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.3745, allocations: 0 / 0.603 GB, free: 376 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.3746, allocations: 322.8 kB / 0.6033 GB, free: 44 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.3747, allocations: 39.98 kB / 0.6033 GB, free: 4 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.3748, allocations: 46.47 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3749, allocations: 100.8 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3749, allocations: 0 / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002229/0.3752, allocations: 136.6 kB / 0.6036 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3752, allocations: 4 kB / 0.6036 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3752, allocations: 4 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3752, allocations: 0 / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3754, allocations: 32.03 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3754, allocations: 11.88 kB / 0.6037 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3754, allocations: 11.98 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3754, allocations: 4 kB / 0.6037 GB, free: 15.66 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 8.459e-05/0.3755, allocations: 121.8 kB / 0.6038 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3756, allocations: 7.906 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.3759, allocations: 171.2 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3759, allocations: 4 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3759, allocations: 7.875 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3759, allocations: 0 / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.3765, allocations: 475.1 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3765, allocations: 0 / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.3766, allocations: 23.98 kB / 0.6045 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3766, allocations: 7.984 kB / 0.6045 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3766, allocations: 7.984 kB / 0.6045 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3766, allocations: 4 kB / 0.6045 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3766, allocations: 4.031 kB / 0.6045 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3769, allocations: 244.1 kB / 0.6047 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.3769, allocations: 92.91 kB / 0.6048 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.377, allocations: 4 kB / 0.6048 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.377, allocations: 8 kB / 0.6048 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3771, allocations: 11.98 kB / 0.6048 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3771, allocations: 4 kB / 0.6048 GB, free: 14.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.878e-05/0.3772, allocations: 120.3 kB / 0.6049 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3772, allocations: 0 / 0.6049 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000255/0.3775, allocations: 35.94 kB / 0.605 GB, free: 14.22 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.0008903/0.3784, allocations: 471.2 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3786, allocations: 104 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3786, allocations: 0 / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3787, allocations: 59.91 kB / 0.6056 GB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.379, allocations: 19.92 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.3795, allocations: 278.1 kB / 0.6059 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3797, allocations: 0.7004 MB / 0.6066 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.3798, allocations: 20.55 kB / 0.6066 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.3798, allocations: 19.42 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3798, allocations: 0 / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Templates: time 0.003454/0.3833, allocations: 1.42 MB / 0.608 GB, free: 11.29 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches