Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 106.9 kB / 17.33 MB, free: 5.984 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.001337/0.001337, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.363/1.363, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2099/0.2099, allocations: 44.18 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 68.36 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1091, allocations: 60.82 MB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003321/0.1125, allocations: 2.011 MB / 470.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.114, allocations: 1.021 MB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.1141, allocations: 4 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.1143, allocations: 27.83 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1146, allocations: 135.5 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.1154, allocations: 395.4 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1157, allocations: 259.2 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1159, allocations: 60.36 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.116, allocations: 123.5 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1162, allocations: 171.4 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1163, allocations: 12 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1164, allocations: 67.97 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1165, allocations: 135.5 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1167, allocations: 154.8 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.117, allocations: 346.9 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.117, allocations: 0 / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.117, allocations: 0 / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.117, allocations: 4 kB / 473.6 MB, free: 9.863 MB / 350.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.0008064/0.1179, allocations: 0.7309 MB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1179, allocations: 12.03 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.118, allocations: 48.28 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.1184, allocations: 439.9 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1185, allocations: 8.375 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1185, allocations: 12.12 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1188, allocations: 129 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1188, allocations: 0 / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1188, allocations: 11.98 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1188, allocations: 3.938 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.119, allocations: 79.89 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.1198, allocations: 0.6605 MB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.12, allocations: 105.2 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-05/0.1201, allocations: 37.83 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1202, allocations: 11.98 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1202, allocations: 34.5 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1202, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001316/0.1215, allocations: 0.4982 MB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1216, allocations: 85.03 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.1224, allocations: 0.8504 MB / 477.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1224, allocations: 25.7 kB / 477.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1226, allocations: 240.3 kB / 477.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.1227, allocations: 55.19 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.1227, allocations: 33.7 kB / 477.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1229, allocations: 374.7 kB / 478 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.123, allocations: 55.95 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.1232, allocations: 65.69 kB / 478.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1235, allocations: 137.7 kB / 478.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1235, allocations: 0 / 478.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004305/0.124, allocations: 224.9 kB / 478.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.124, allocations: 4 kB / 478.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.124, allocations: 1.062 kB / 478.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.124, allocations: 224 / 478.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1242, allocations: 39.91 kB / 478.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1242, allocations: 11.94 kB / 478.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1244, allocations: 7.984 kB / 478.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1244, allocations: 11.98 kB / 478.6 MB, free: 4.598 MB / 350.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 (16): * Single equations (assignments): 16 * 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.0001966/0.1246, allocations: 205.7 kB / 478.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.1247, allocations: 51.34 kB / 478.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.1253, allocations: 269.8 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1253, allocations: 0 / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1253, allocations: 0 / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1253, allocations: 7.984 kB / 479.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.1263, allocations: 0.7513 MB / 479.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1263, allocations: 7.922 kB / 479.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1265, allocations: 31.98 kB / 479.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1265, allocations: 3.984 kB / 479.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1265, allocations: 4 kB / 479.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1265, allocations: 7.938 kB / 479.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1265, allocations: 0 / 479.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.127, allocations: 398.3 kB / 480.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1271, allocations: 132.5 kB / 480.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1272, allocations: 4 kB / 480.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1274, allocations: 19.92 kB / 480.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.1275, allocations: 11.98 kB / 480.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1275, allocations: 4 kB / 480.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.1281, allocations: 0.6198 MB / 481.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1281, allocations: 4 kB / 481.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1285, allocations: 44 kB / 481.1 MB, free: 1.938 MB / 350.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 (16): * Single equations (assignments): 16 * 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.0009029/0.1294, allocations: 416.8 kB / 481.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.1298, allocations: 159.8 kB / 481.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1298, allocations: 4 kB / 481.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.13, allocations: 75.89 kB / 481.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1306, allocations: 73.86 kB / 481.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1319, allocations: 0.9811 MB / 482.8 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.1323, allocations: 0.8643 MB / 483.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.1325, allocations: 71.56 kB / 483.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.1326, allocations: 35.42 kB / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1326, allocations: 0 / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.007667/0.1403, allocations: 3.842 MB / 487.7 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches