Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001013/0.001013, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.341/1.341, allocations: 222.9 MB / 243 MB, free: 15.09 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.2087/0.2087, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.31 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002989/0.1115, allocations: 1.638 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.1122, allocations: 447 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.1123, allocations: 4 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.1125, allocations: 59.8 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1127, allocations: 51.77 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1131, allocations: 177.9 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1133, allocations: 83.77 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1134, allocations: 23.97 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.1135, allocations: 27.91 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.1136, allocations: 51.77 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1136, allocations: 4 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.1137, allocations: 51.97 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.1138, allocations: 19.92 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.1138, allocations: 31.81 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.114, allocations: 111.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.114, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.114, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.114, allocations: 0 / 473.5 MB, free: 10.88 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.0004727/0.1145, allocations: 407 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1145, allocations: 12.03 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1146, allocations: 12.84 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1148, allocations: 192.7 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1148, allocations: 4.375 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1148, allocations: 7.938 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.115, allocations: 69.55 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.115, allocations: 4 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.115, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.115, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1152, allocations: 47.95 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1156, allocations: 324.6 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1158, allocations: 54.55 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.1159, allocations: 24.97 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1159, allocations: 8 kB / 474.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.116, allocations: 38.66 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.116, allocations: 3.938 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001372/0.1174, allocations: 412.8 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1174, allocations: 59.34 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1176, allocations: 178.1 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1176, allocations: 33.69 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.1177, allocations: 104 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1177, allocations: 31.55 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1178, allocations: 25.72 kB / 475.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1179, allocations: 322.8 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.118, allocations: 55.95 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1181, allocations: 55.95 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1184, allocations: 125 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1184, allocations: 0 / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003047/0.1187, allocations: 169.3 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1187, allocations: 8 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1188, allocations: 3.938 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1188, allocations: 0 / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1189, allocations: 31.97 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1189, allocations: 0 / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.119, allocations: 11.98 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.119, allocations: 0 / 476.2 MB, free: 7.875 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.212e-05/0.1191, allocations: 133.8 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.1191, allocations: 15.89 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.1195, allocations: 186.8 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1195, allocations: 4 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1195, allocations: 0 / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1195, allocations: 3.938 kB / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.1202, allocations: 0.4999 MB / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1202, allocations: 0 / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.1203, allocations: 23.98 kB / 477.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1203, allocations: 0 / 477.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1203, allocations: 11.94 kB / 477.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1203, allocations: 4.062 kB / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1203, allocations: 0 / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.1207, allocations: 265 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1208, allocations: 88.95 kB / 477.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1208, allocations: 7.984 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1209, allocations: 12 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.121, allocations: 15.91 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.121, allocations: 4 kB / 477.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1211, allocations: 140.9 kB / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1211, allocations: 0 / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1214, allocations: 31.91 kB / 477.7 MB, free: 6.328 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.0009765/0.1224, allocations: 461.9 kB / 478.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.1227, allocations: 139.8 kB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1227, allocations: 4 kB / 478.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1229, allocations: 67.83 kB / 478.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1232, allocations: 16 kB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.1238, allocations: 299.8 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.124, allocations: 0.7119 MB / 479.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.118e-05/0.1241, allocations: 24.53 kB / 479.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1242, allocations: 23.44 kB / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1242, allocations: 0 / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Templates: time 0.004024/0.1282, allocations: 1.59 MB / 481 MB, free: 3.141 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches