Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 222.5 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 109.6 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3301/0.3301, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003517/0.1168, allocations: 1.613 MB / 488.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006245/0.1175, allocations: 315.5 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.1176, allocations: 3.938 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.1179, allocations: 115.8 kB / 489 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1181, allocations: 67.84 kB / 489.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1183, allocations: 63.88 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1185, allocations: 67.88 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1186, allocations: 19.97 kB / 489.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.1187, allocations: 39.84 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1188, allocations: 55.81 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1188, allocations: 4 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.1189, allocations: 31.98 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.119, allocations: 19.92 kB / 489.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.119, allocations: 35.67 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1192, allocations: 91.94 kB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1192, allocations: 0 / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1192, allocations: 0 / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1192, allocations: 0 / 489.5 MB, free: 10 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000485/0.1197, allocations: 414.9 kB / 489.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1197, allocations: 16.02 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1198, allocations: 8.844 kB / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.12, allocations: 207.9 kB / 490.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.12, allocations: 384 / 490.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.12, allocations: 4.375 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1201, allocations: 53.8 kB / 490.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1202, allocations: 3.938 kB / 490.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1202, allocations: 4 kB / 490.2 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1202, allocations: 4 kB / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.1203, allocations: 19.98 kB / 490.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1206, allocations: 284.8 kB / 490.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1208, allocations: 42.55 kB / 490.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.1208, allocations: 20.86 kB / 490.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1209, allocations: 0 / 490.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1209, allocations: 30.56 kB / 490.6 MB, free: 8.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1209, allocations: 3.938 kB / 490.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004866/0.1214, allocations: 141.6 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1214, allocations: 59.41 kB / 490.8 MB, free: 8.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1217, allocations: 242.6 kB / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1217, allocations: 29.7 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1217, allocations: 108.1 kB / 491.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1218, allocations: 15.81 kB / 491.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1218, allocations: 13.72 kB / 491.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1219, allocations: 330.8 kB / 491.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.122, allocations: 19.92 kB / 491.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.122, allocations: 19.98 kB / 491.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1222, allocations: 48.83 kB / 491.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1222, allocations: 0 / 491.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001659/0.1223, allocations: 81.77 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1224, allocations: 4 kB / 491.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1224, allocations: 0 / 491.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1224, allocations: 7.984 kB / 491.7 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.1224, allocations: 15.98 kB / 491.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1225, allocations: 3.938 kB / 491.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.1225, allocations: 7.984 kB / 491.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1225, allocations: 0 / 491.8 MB, free: 7.559 MB / 378.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 (5): * Single equations (assignments): 5 * 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 9.429e-05/0.1226, allocations: 129.8 kB / 491.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.1227, allocations: 19.8 kB / 491.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.1229, allocations: 98.64 kB / 492 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1229, allocations: 0 / 492 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1229, allocations: 4 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1229, allocations: 3.938 kB / 492 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1233, allocations: 354.4 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1233, allocations: 0 / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.1234, allocations: 15.98 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1234, allocations: 4 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1234, allocations: 0 / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1234, allocations: 3.938 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1234, allocations: 0 / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.124, allocations: 0.763 MB / 493.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.124, allocations: 93.02 kB / 493.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.124, allocations: 4 kB / 493.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.1241, allocations: 4 kB / 493.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1241, allocations: 3.984 kB / 493.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1242, allocations: 4 kB / 493.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1243, allocations: 188.3 kB / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1243, allocations: 0 / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.1246, allocations: 15.94 kB / 493.4 MB, free: 5.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007893/0.1254, allocations: 401.7 kB / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1256, allocations: 47.91 kB / 493.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1256, allocations: 0 / 493.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.1257, allocations: 28.11 kB / 493.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.126, allocations: 23.86 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.1265, allocations: 383 kB / 494.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1268, allocations: 0.7082 MB / 495 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.952e-05/0.1268, allocations: 15.84 kB / 495 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1269, allocations: 19.42 kB / 495 MB, free: 4.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1269, allocations: 3.938 kB / 495.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of Templates: time 0.003153/0.13, allocations: 1.085 MB / 496.1 MB, free: 2.996 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches