Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001985/0.001985, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.643/1.643, allocations: 222.9 MB / 242.4 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.2192/0.2192, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002966/0.3665, allocations: 2.04 MB / 0.5209 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3681, allocations: 1.049 MB / 0.5219 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3683, allocations: 2.188 kB / 0.5219 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.3685, allocations: 48.08 kB / 0.522 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.3689, allocations: 155 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.3699, allocations: 419.7 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.3702, allocations: 292.8 kB / 0.5228 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3704, allocations: 59.8 kB / 0.5229 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3706, allocations: 134.1 kB / 0.523 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.3709, allocations: 185.8 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.3709, allocations: 13.56 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.371, allocations: 62.58 kB / 0.5232 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3712, allocations: 137.2 kB / 0.5234 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3713, allocations: 169.5 kB / 0.5235 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.3717, allocations: 379.3 kB / 0.5239 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3717, allocations: 1.312 kB / 0.5239 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3717, allocations: 4 kB / 0.5239 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3717, allocations: 0 / 0.5239 GB, free: 0.5547 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008906/0.3726, allocations: 0.7617 MB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3726, allocations: 10.14 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.3727, allocations: 51.41 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.3733, allocations: 447.3 kB / 0.5251 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3733, allocations: 8.75 kB / 0.5251 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.3733, allocations: 15.31 kB / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.3737, allocations: 146.4 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3737, allocations: 2.016 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3737, allocations: 4 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3737, allocations: 2.719 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.374, allocations: 101 kB / 0.5254 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.375, allocations: 0.6687 MB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.3753, allocations: 128.6 kB / 0.5262 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3754, allocations: 63.81 kB / 0.5262 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3755, allocations: 1.984 kB / 0.5262 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3755, allocations: 33.97 kB / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3755, allocations: 0 / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00188/0.3774, allocations: 0.6671 MB / 0.5269 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3774, allocations: 83.83 kB / 0.527 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.3784, allocations: 0.8437 MB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3784, allocations: 26.52 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3786, allocations: 252.2 kB / 0.5281 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.3787, allocations: 62.8 kB / 0.5281 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.3787, allocations: 42 kB / 0.5282 GB, free: 13.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3789, allocations: 376.3 kB / 0.5285 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3792, allocations: 90.38 kB / 0.5286 GB, free: 13.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3795, allocations: 107.6 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.38, allocations: 209.1 kB / 0.5289 GB, free: 13.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.38, allocations: 0 / 0.5289 GB, free: 13.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007008/0.3807, allocations: 303.3 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3807, allocations: 4.969 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3807, allocations: 1.062 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3808, allocations: 1.094 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.3811, allocations: 49.92 kB / 0.5293 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3811, allocations: 1.188 kB / 0.5293 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3813, allocations: 24.16 kB / 0.5293 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3813, allocations: 9.406 kB / 0.5293 GB, free: 12.92 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002276/0.3815, allocations: 217.3 kB / 0.5295 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3816, allocations: 55.28 kB / 0.5296 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.3825, allocations: 355.3 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3825, allocations: 3.406 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3825, allocations: 0 / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3825, allocations: 1.156 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.384, allocations: 0.8671 MB / 0.5308 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.384, allocations: 0.9688 kB / 0.5308 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3842, allocations: 53.45 kB / 0.5308 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3843, allocations: 1.5 kB / 0.5308 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.3843, allocations: 10.61 kB / 0.5308 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.3843, allocations: 5.25 kB / 0.5308 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3843, allocations: 1.531 kB / 0.5308 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.3851, allocations: 476.4 kB / 0.5313 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.3852, allocations: 132.1 kB / 0.5314 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.3853, allocations: 6.812 kB / 0.5314 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.3855, allocations: 26.97 kB / 0.5314 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.3856, allocations: 24.34 kB / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3857, allocations: 9.438 kB / 0.5315 GB, free: 11.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007104/0.3864, allocations: 0.6203 MB / 0.5321 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3864, allocations: 384 / 0.5321 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.3868, allocations: 62.91 kB / 0.5321 GB, free: 11.03 MB / 398.1 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 (20): * Single equations (assignments): 20 * 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.0009614/0.3877, allocations: 404 kB / 0.5325 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.3884, allocations: 221.5 kB / 0.5327 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3884, allocations: 0 / 0.5327 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.3888, allocations: 127.7 kB / 0.5329 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.3894, allocations: 78.59 kB / 0.5329 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3911, allocations: 0.9203 MB / 0.5338 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.3917, allocations: 0.8604 MB / 0.5347 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.3919, allocations: 73.62 kB / 0.5347 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3921, allocations: 42.67 kB / 0.5348 GB, free: 9.301 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3921, allocations: 0 / 0.5348 GB, free: 9.301 MB / 398.1 MB Notification: Performance of Templates: time 0.01083/0.4029, allocations: 4.308 MB / 0.539 GB, free: 7.203 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches