Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.001081/0.001081, allocations: 172.1 kB / 18.25 MB, free: 5.523 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.375/1.375, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1957/0.1957, allocations: 44.24 MB / 337.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 61.94 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002311/0.1124, allocations: 1.325 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00087/0.1133, allocations: 415.3 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.1134, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1137, allocations: 87.81 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1139, allocations: 63.86 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1142, allocations: 102.3 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1145, allocations: 87.8 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1146, allocations: 28.22 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.1147, allocations: 35.89 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1148, allocations: 55.81 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1148, allocations: 0 / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.115, allocations: 43.98 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.115, allocations: 23.8 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1151, allocations: 61.39 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1153, allocations: 119.5 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1153, allocations: 4 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1153, allocations: 0 / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1153, allocations: 0 / 474.7 MB, free: 10.87 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005079/0.1158, allocations: 419 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1159, allocations: 12.03 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1159, allocations: 12.75 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1161, allocations: 204 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1161, allocations: 4.375 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1162, allocations: 12.38 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1163, allocations: 77.78 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1164, allocations: 0 / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1164, allocations: 0 / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1164, allocations: 4 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1165, allocations: 43.97 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.117, allocations: 352.5 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1172, allocations: 66.55 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1172, allocations: 28.84 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1173, allocations: 4 kB / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1173, allocations: 34.56 kB / 475.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1173, allocations: 3.938 kB / 475.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001083/0.1184, allocations: 369.5 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1184, allocations: 55.41 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1186, allocations: 231.2 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1187, allocations: 29.7 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.1187, allocations: 116 kB / 476.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1188, allocations: 35.45 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1188, allocations: 17.72 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.119, allocations: 326.8 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1191, allocations: 51.97 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.1192, allocations: 47.97 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.1194, allocations: 123.6 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1194, allocations: 7.984 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002781/0.1197, allocations: 161.5 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1197, allocations: 4 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1197, allocations: 0 / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1198, allocations: 7.938 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1199, allocations: 27.98 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1199, allocations: 0 / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.12, allocations: 8 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.12, allocations: 4 kB / 477.5 MB, free: 7.805 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001154/0.1201, allocations: 145.6 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1201, allocations: 15.81 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.1206, allocations: 191.1 kB / 477.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1206, allocations: 0 / 477.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1206, allocations: 4 kB / 477.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1206, allocations: 3.984 kB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.1213, allocations: 0.5107 MB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1213, allocations: 0 / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.1214, allocations: 23.98 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1214, allocations: 4 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1214, allocations: 0 / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1214, allocations: 8.031 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1214, allocations: 0 / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1217, allocations: 271.3 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1218, allocations: 93 kB / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1218, allocations: 4 kB / 478.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.1219, allocations: 8 kB / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1219, allocations: 11.98 kB / 478.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1219, allocations: 8 kB / 478.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1221, allocations: 175.2 kB / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1221, allocations: 0 / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1224, allocations: 24 kB / 479 MB, free: 6.219 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 (13): * Single equations (assignments): 13 * 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.0009949/0.1234, allocations: 441.9 kB / 479.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1237, allocations: 135.2 kB / 479.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1237, allocations: 0 / 479.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1238, allocations: 63.91 kB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1242, allocations: 23.97 kB / 479.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.1248, allocations: 370.8 kB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1251, allocations: 0.7239 MB / 480.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.1252, allocations: 24.53 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1253, allocations: 15.44 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1253, allocations: 3.938 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of Templates: time 0.004101/0.1294, allocations: 1.493 MB / 482.3 MB, free: 3.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches