Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 112.5 kB / 18.45 MB, free: 4.609 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.001595/0.001595, allocations: 189.2 kB / 19.38 MB, free: 3.684 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.407/1.407, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.225/0.225, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3759, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002982/0.3789, allocations: 1.639 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.3796, allocations: 420.5 kB / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.3797, allocations: 1.594 kB / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.38, allocations: 46.2 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.3802, allocations: 50.97 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3805, allocations: 133.6 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3807, allocations: 69.36 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3808, allocations: 27.73 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.3809, allocations: 33.34 kB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.381, allocations: 39.36 kB / 0.522 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.381, allocations: 8.562 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3811, allocations: 55.47 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.3812, allocations: 19.38 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3813, allocations: 30.78 kB / 0.5221 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.3815, allocations: 99.34 kB / 0.5222 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3815, allocations: 1.031 kB / 0.5222 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3815, allocations: 4 kB / 0.5222 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3815, allocations: 0 / 0.5222 GB, free: 1.926 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.0004405/0.3819, allocations: 403.3 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.382, allocations: 9.953 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.382, allocations: 9.375 kB / 0.5226 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3822, allocations: 187.5 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3822, allocations: 2.125 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3822, allocations: 3.844 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3824, allocations: 70.92 kB / 0.5228 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3824, allocations: 1.188 kB / 0.5228 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3824, allocations: 4 kB / 0.5229 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3825, allocations: 1.953 kB / 0.5229 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3826, allocations: 34.7 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.383, allocations: 309.6 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.3832, allocations: 57.16 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.3833, allocations: 29.5 kB / 0.5233 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3833, allocations: 1.891 kB / 0.5233 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.3833, allocations: 31.94 kB / 0.5233 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3834, allocations: 0 / 0.5233 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001333/0.3847, allocations: 393.1 kB / 0.5237 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3847, allocations: 57.14 kB / 0.5237 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3849, allocations: 162.6 kB / 0.5239 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3849, allocations: 31.64 kB / 0.5239 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.3849, allocations: 95.72 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.385, allocations: 33.88 kB / 0.524 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.385, allocations: 31.56 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.3851, allocations: 320.9 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3852, allocations: 39.56 kB / 0.5244 GB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3853, allocations: 43.75 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.3856, allocations: 102.5 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3856, allocations: 0 / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003469/0.3859, allocations: 150.3 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3859, allocations: 5 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.386, allocations: 1.531 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.386, allocations: 0 / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3861, allocations: 33.05 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3861, allocations: 1.281 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.3862, allocations: 9.672 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3862, allocations: 5.656 kB / 0.5247 GB, free: 15.92 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.0001012/0.3863, allocations: 120.2 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3863, allocations: 13.36 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.3867, allocations: 167.4 kB / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.3867, allocations: 6.469 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3868, allocations: 0 / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.3868, allocations: 6.312 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.3874, allocations: 470.9 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3875, allocations: 0.6562 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.3876, allocations: 27.83 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3876, allocations: 0 / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3876, allocations: 4.469 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3876, allocations: 0 / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3876, allocations: 0 / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.388, allocations: 261 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.388, allocations: 87.86 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3881, allocations: 3.047 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.3881, allocations: 11.98 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3882, allocations: 8.594 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.3882, allocations: 8.688 kB / 0.5259 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3883, allocations: 125.3 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 1.156 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3886, allocations: 26.44 kB / 0.526 GB, free: 14.92 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.001048/0.3897, allocations: 464.5 kB / 0.5265 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.39, allocations: 108.1 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.39, allocations: 4 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3902, allocations: 55.78 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3906, allocations: 29.42 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.3911, allocations: 261.8 kB / 0.5269 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3914, allocations: 0.7039 MB / 0.5276 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3915, allocations: 20.45 kB / 0.5276 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3915, allocations: 4 kB / 0.5276 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.003795/0.3953, allocations: 1.845 MB / 0.5294 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches