Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 113.2 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1974/0.1974, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3741, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00272/0.3768, allocations: 1.649 MB / 0.5205 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.3776, allocations: 451.5 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.3776, allocations: 1.406 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3779, allocations: 73.16 kB / 0.521 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3781, allocations: 58.66 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.3785, allocations: 175.8 kB / 0.5213 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3787, allocations: 86.69 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3788, allocations: 16.52 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.3789, allocations: 43.61 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.379, allocations: 46.81 kB / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.379, allocations: 3.219 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3791, allocations: 55.75 kB / 0.5215 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.3792, allocations: 27.3 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.3793, allocations: 32 kB / 0.5216 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3795, allocations: 115.1 kB / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3795, allocations: 1.188 kB / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3795, allocations: 0 / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3795, allocations: 0 / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004242/0.3799, allocations: 426.8 kB / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.38, allocations: 9.938 kB / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.38, allocations: 13.88 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3802, allocations: 204.1 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3802, allocations: 9.5 kB / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3802, allocations: 7.688 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3804, allocations: 65.64 kB / 0.5224 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3805, allocations: 1.672 kB / 0.5224 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3805, allocations: 4 kB / 0.5224 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3805, allocations: 1.219 kB / 0.5224 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.3806, allocations: 47.27 kB / 0.5224 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.381, allocations: 320.3 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3813, allocations: 55.45 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.3813, allocations: 27.92 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3814, allocations: 4.094 kB / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.3814, allocations: 44.28 kB / 0.5229 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3814, allocations: 1.312 kB / 0.5229 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001388/0.3828, allocations: 417.6 kB / 0.5233 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.3828, allocations: 60.78 kB / 0.5233 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.383, allocations: 203.9 kB / 0.5235 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.383, allocations: 29.7 kB / 0.5235 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.3831, allocations: 105.7 kB / 0.5236 GB, free: 304 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.3831, allocations: 39.81 kB / 0.5237 GB, free: 272 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.3832, allocations: 27.92 kB / 0.5237 GB, free: 248 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.3832, allocations: 321.4 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3834, allocations: 59.45 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3835, allocations: 52.59 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3838, allocations: 127.1 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3838, allocations: 0 / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003179/0.3841, allocations: 170.2 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3842, allocations: 5.453 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3842, allocations: 1.562 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3842, allocations: 0.75 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3843, allocations: 28.86 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3843, allocations: 1.75 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.3844, allocations: 11.45 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3844, allocations: 8.125 kB / 0.5245 GB, free: 15.76 MB / 398.1 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3845, allocations: 137.6 kB / 0.5246 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.3846, allocations: 14.19 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.385, allocations: 189.7 kB / 0.5248 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.385, allocations: 3.938 kB / 0.5248 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.385, allocations: 6.328 kB / 0.5248 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.385, allocations: 0.7031 kB / 0.5248 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.3857, allocations: 0.5 MB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3857, allocations: 2.172 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.3858, allocations: 27.97 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3858, allocations: 1.375 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3858, allocations: 7.422 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3858, allocations: 1.375 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3858, allocations: 0.5625 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.3862, allocations: 275.4 kB / 0.5256 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.3863, allocations: 86.27 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3863, allocations: 5.891 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3864, allocations: 10.67 kB / 0.5257 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.3865, allocations: 14.83 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3865, allocations: 5.016 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3866, allocations: 155.6 kB / 0.5258 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3866, allocations: 0 / 0.5258 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3869, allocations: 27.08 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000975/0.3879, allocations: 453 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.3882, allocations: 134.8 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3882, allocations: 5.281 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3884, allocations: 68.66 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3888, allocations: 20.28 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.3893, allocations: 323.1 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3896, allocations: 0.7217 MB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.3897, allocations: 34.36 kB / 0.5276 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.3897, allocations: 15.12 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3897, allocations: 0 / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.00413/0.3939, allocations: 1.629 MB / 0.5292 GB, free: 12.75 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches