Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 108.2 kB / 18.4 MB, free: 4.699 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.001757/0.001757, allocations: 187 kB / 19.34 MB, free: 3.766 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 / 243 MB, free: 15.16 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.2083/0.2083, allocations: 44.17 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.53 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002778/0.1123, allocations: 1.637 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.1131, allocations: 451 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.1131, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1133, allocations: 67.72 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1136, allocations: 55.81 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.114, allocations: 173.8 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1141, allocations: 79.77 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.1142, allocations: 23.97 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.1143, allocations: 31.91 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.1144, allocations: 51.77 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1144, allocations: 4 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.1145, allocations: 51.97 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.1146, allocations: 31.86 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.1146, allocations: 27.8 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1148, allocations: 99.7 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1148, allocations: 3.938 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1148, allocations: 7.984 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1148, allocations: 0 / 473.5 MB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004556/0.1153, allocations: 409.8 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1153, allocations: 12.03 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.1154, allocations: 8.844 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1156, allocations: 201.7 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1156, allocations: 4.375 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1156, allocations: 8.375 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1158, allocations: 65.78 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1158, allocations: 4 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1158, allocations: 0 / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1158, allocations: 4 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.116, allocations: 43.91 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1164, allocations: 320.6 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1166, allocations: 66.58 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.1167, allocations: 28.97 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1167, allocations: 3.938 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1168, allocations: 34.55 kB / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1168, allocations: 0 / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001358/0.1181, allocations: 409.4 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1182, allocations: 55.34 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1184, allocations: 189.9 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1184, allocations: 29.7 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.1184, allocations: 108 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1185, allocations: 39.44 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.1185, allocations: 25.72 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1187, allocations: 326.8 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1188, allocations: 59.95 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1189, allocations: 60 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.1192, allocations: 120.8 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1192, allocations: 0 / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003172/0.1195, allocations: 165.5 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1195, allocations: 4 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1195, allocations: 0 / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1196, allocations: 0 / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1197, allocations: 35.84 kB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1197, allocations: 4 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.1198, allocations: 12 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1198, allocations: 4 kB / 476.3 MB, free: 7.84 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 (11): * Single equations (assignments): 11 * 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.876e-05/0.1199, allocations: 129.8 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1199, allocations: 11.81 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.1203, allocations: 190.2 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1203, allocations: 3.938 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1203, allocations: 4 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.1203, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.121, allocations: 496 kB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.121, allocations: 0 / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.1211, allocations: 27.98 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1212, allocations: 8 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1212, allocations: 4 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1212, allocations: 4 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1212, allocations: 0 / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.1216, allocations: 284.8 kB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1216, allocations: 85 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1216, allocations: 4 kB / 477.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.1217, allocations: 7.984 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1218, allocations: 15.98 kB / 477.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1218, allocations: 0 / 477.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.601e-05/0.1219, allocations: 143.2 kB / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1219, allocations: 8 kB / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1222, allocations: 24 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009803/0.1232, allocations: 467.1 kB / 478.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.1235, allocations: 131.8 kB / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1235, allocations: 0 / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1237, allocations: 67.89 kB / 478.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.124, allocations: 27.25 kB / 478.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.1245, allocations: 296.5 kB / 478.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1248, allocations: 0.7158 MB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.356e-05/0.1249, allocations: 28.53 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1249, allocations: 19.42 kB / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1249, allocations: 192 / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of Templates: time 0.003997/0.1289, allocations: 1.6 MB / 481 MB, free: 3.098 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches