Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001114/0.001114, allocations: 194 kB / 18.77 MB, free: 4.742 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.543/1.543, allocations: 222.9 MB / 242.5 MB, free: 13.76 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.2128/0.2128, allocations: 44.17 MB / 336.8 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 69.25 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003691/0.1188, allocations: 1.664 MB / 470.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008544/0.1197, allocations: 431.1 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.1198, allocations: 0 / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1201, allocations: 27.91 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1203, allocations: 39.91 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.1208, allocations: 94.81 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.121, allocations: 79.77 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1211, allocations: 32.25 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.1212, allocations: 27.92 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1213, allocations: 35.83 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1213, allocations: 0 / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1215, allocations: 43.94 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.1216, allocations: 19.92 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.1216, allocations: 31.73 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1218, allocations: 79.83 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1218, allocations: 0 / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1218, allocations: 0 / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1219, allocations: 4 kB / 471.8 MB, free: 12.22 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.0005871/0.1225, allocations: 399.2 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1225, allocations: 8.031 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.1226, allocations: 12.84 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.1228, allocations: 206.5 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1229, allocations: 384 / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.1229, allocations: 12.38 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1231, allocations: 77.78 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1231, allocations: 7.984 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1231, allocations: 0 / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1232, allocations: 4 kB / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1233, allocations: 39.97 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.124, allocations: 332.6 kB / 472.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1242, allocations: 70.56 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.1243, allocations: 20.84 kB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1243, allocations: 4 kB / 472.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1243, allocations: 34.55 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.1243, allocations: 0 / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001188/0.1255, allocations: 325.4 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1256, allocations: 55.34 kB / 473.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1258, allocations: 157.8 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1258, allocations: 25.7 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.1259, allocations: 112 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.1259, allocations: 43.36 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.126, allocations: 25.72 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1262, allocations: 322.8 kB / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1263, allocations: 43.97 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.1264, allocations: 43.97 kB / 474.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.1267, allocations: 109.9 kB / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1267, allocations: 4 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002808/0.127, allocations: 152.9 kB / 474.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.127, allocations: 4 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.127, allocations: 11.86 kB / 474.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.127, allocations: 4 kB / 474.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1272, allocations: 23.98 kB / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1272, allocations: 0 / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1272, allocations: 8 kB / 474.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1273, allocations: 8 kB / 474.4 MB, free: 9.352 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.0001694/0.1274, allocations: 129.8 kB / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.1275, allocations: 7.906 kB / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.1279, allocations: 182.8 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1279, allocations: 0 / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1279, allocations: 0 / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1279, allocations: 4 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.1286, allocations: 499 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1286, allocations: 0 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.1287, allocations: 23.98 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.1287, allocations: 7.984 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1288, allocations: 7.969 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1288, allocations: 0 / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1288, allocations: 4 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.1291, allocations: 256 kB / 475.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1292, allocations: 81.02 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1292, allocations: 8 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1293, allocations: 11.98 kB / 475.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.1294, allocations: 11.98 kB / 475.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1294, allocations: 4 kB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1295, allocations: 117.4 kB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1295, allocations: 0 / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1298, allocations: 32 kB / 475.8 MB, free: 7.879 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.001268/0.1311, allocations: 457.3 kB / 476.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.1314, allocations: 111.9 kB / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1314, allocations: 0 / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1315, allocations: 67.91 kB / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1319, allocations: 19.86 kB / 476.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.1325, allocations: 322.4 kB / 476.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1329, allocations: 0.7083 MB / 477.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.133, allocations: 23.42 kB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.133, allocations: 0 / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of Templates: time 0.00478/0.1378, allocations: 1.942 MB / 479.4 MB, free: 4.375 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches