Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 110 kB / 17.86 MB, free: 5.504 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.001585/0.001585, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.369/1.369, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.2058/0.2058, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.34 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002841/0.1115, allocations: 1.606 MB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.1122, allocations: 411.3 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.1123, allocations: 0 / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1125, allocations: 23.84 kB / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1127, allocations: 31.91 kB / 471.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1129, allocations: 75.61 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.113, allocations: 55.84 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.1131, allocations: 11.98 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.1132, allocations: 19.92 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1132, allocations: 23.86 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1132, allocations: 0 / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.1133, allocations: 24 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1134, allocations: 19.91 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.1134, allocations: 15.88 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1135, allocations: 63.8 kB / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1135, allocations: 0 / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1135, allocations: 0 / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1135, allocations: 0 / 471.5 MB, free: 12.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004174/0.114, allocations: 383.5 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.114, allocations: 8.031 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.114, allocations: 8.844 kB / 471.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1142, allocations: 184.3 kB / 472.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1142, allocations: 384 / 472.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1143, allocations: 8.375 kB / 472.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1144, allocations: 45.81 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1144, allocations: 0 / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1144, allocations: 11.94 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1144, allocations: 0 / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.1145, allocations: 19.98 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1148, allocations: 284.8 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.115, allocations: 38.56 kB / 472.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1151, allocations: 24.88 kB / 472.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1151, allocations: 4 kB / 472.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1152, allocations: 38.5 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1152, allocations: 0 / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004926/0.1157, allocations: 133.3 kB / 472.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1157, allocations: 59.41 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1158, allocations: 160.2 kB / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1159, allocations: 25.7 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.1159, allocations: 92.14 kB / 473 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1159, allocations: 15.8 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.116, allocations: 13.72 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.1161, allocations: 326.8 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1161, allocations: 19.98 kB / 473.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.1162, allocations: 19.98 kB / 473.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1163, allocations: 44.78 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1163, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.1165, allocations: 89.5 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1165, allocations: 4 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1166, allocations: 0 / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1166, allocations: 0 / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.1166, allocations: 16 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1167, allocations: 3.984 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.1167, allocations: 4 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1167, allocations: 3.938 kB / 473.6 MB, free: 10.16 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 (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 7.636e-05/0.1168, allocations: 118.3 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1168, allocations: 7.906 kB / 473.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.117, allocations: 105.9 kB / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1171, allocations: 0 / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1171, allocations: 0 / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1171, allocations: 0 / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.1174, allocations: 342.8 kB / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1175, allocations: 0 / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.1175, allocations: 19.92 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1175, allocations: 0 / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1175, allocations: 4 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1175, allocations: 3.938 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1176, allocations: 0 / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1178, allocations: 179.4 kB / 474.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.1178, allocations: 85.02 kB / 474.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1178, allocations: 3.984 kB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1179, allocations: 11.94 kB / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1179, allocations: 0 / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.118, allocations: 7.984 kB / 474.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.876e-05/0.118, allocations: 116.7 kB / 474.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.118, allocations: 0 / 474.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1183, allocations: 15.98 kB / 474.6 MB, free: 9.055 MB / 350.1 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.0009093/0.1192, allocations: 405.9 kB / 475 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1194, allocations: 51.95 kB / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1194, allocations: 0 / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1195, allocations: 23.98 kB / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1198, allocations: 12 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.1202, allocations: 232.8 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.1205, allocations: 0.6926 MB / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1205, allocations: 11.44 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1205, allocations: 0 / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003024/0.1235, allocations: 1.38 MB / 477.4 MB, free: 6.352 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches