Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001213/0.001213, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.293/1.293, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2064/0.2064, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.119, allocations: 60.84 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003061/0.1221, allocations: 1.624 MB / 470.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000696/0.1229, allocations: 435 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.1229, allocations: 4 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1231, allocations: 47.8 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1234, allocations: 55.77 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1237, allocations: 126.8 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1238, allocations: 75.81 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1239, allocations: 19.94 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.235e-05/0.124, allocations: 27.91 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.1241, allocations: 47.83 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1241, allocations: 4 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.1242, allocations: 51.92 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.1243, allocations: 11.98 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.1243, allocations: 39.73 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1245, allocations: 91.77 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1245, allocations: 0 / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1245, allocations: 0 / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1245, allocations: 0 / 471.9 MB, free: 11.72 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.0004345/0.125, allocations: 407.3 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.125, allocations: 12.03 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1251, allocations: 8.844 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1252, allocations: 199 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.1252, allocations: 4.375 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1253, allocations: 8.375 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1254, allocations: 65.73 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1255, allocations: 0 / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1255, allocations: 4 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1255, allocations: 0 / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1256, allocations: 43.95 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.126, allocations: 296.7 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1262, allocations: 54.55 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.1263, allocations: 24.97 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1263, allocations: 0 / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.1263, allocations: 42.56 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1263, allocations: 3.938 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001302/0.1277, allocations: 385.4 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1277, allocations: 59.34 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1278, allocations: 165.8 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1279, allocations: 25.7 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1279, allocations: 96.14 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.128, allocations: 39.39 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.128, allocations: 25.7 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.1281, allocations: 318.8 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1282, allocations: 52.02 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1283, allocations: 43.97 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1286, allocations: 92.81 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1286, allocations: 0 / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002724/0.1289, allocations: 141.8 kB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1289, allocations: 12 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1289, allocations: 0 / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1289, allocations: 0 / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.129, allocations: 31.91 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.129, allocations: 0 / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.1291, allocations: 19.92 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1291, allocations: 0 / 474.5 MB, free: 8.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 8.611e-05/0.1292, allocations: 125.8 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1292, allocations: 15.81 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1296, allocations: 158.3 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1296, allocations: 3.938 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1296, allocations: 0 / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1297, allocations: 7.938 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.1302, allocations: 468 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1302, allocations: 0 / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.1303, allocations: 23.98 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1303, allocations: 0 / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1304, allocations: 11.98 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1304, allocations: 4.062 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1304, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.1307, allocations: 249 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.1308, allocations: 92.94 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1308, allocations: 8 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.1309, allocations: 4 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1309, allocations: 15.98 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1309, allocations: 0 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.98e-05/0.131, allocations: 133.6 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.131, allocations: 0 / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1313, allocations: 27.98 kB / 475.8 MB, free: 7.438 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.001002/0.1323, allocations: 454 kB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1326, allocations: 115.9 kB / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1326, allocations: 0 / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1328, allocations: 63.89 kB / 476.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1332, allocations: 23.75 kB / 476.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.1337, allocations: 268 kB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1339, allocations: 0.7041 MB / 477.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.134, allocations: 16.42 kB / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.134, allocations: 15.42 kB / 477.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.134, allocations: 0 / 477.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.003839/0.1379, allocations: 1.534 MB / 479 MB, free: 4.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches