Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001463, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003275/0.1157, allocations: 1.617 MB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1175, allocations: 1.16 MB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.1176, allocations: 4 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1178, allocations: 19.84 kB / 484.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1181, allocations: 83.56 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1184, allocations: 99.69 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1186, allocations: 83.75 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1187, allocations: 12 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.1188, allocations: 23.92 kB / 484.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.1192, allocations: 43.77 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1192, allocations: 8 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1194, allocations: 107.9 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.1194, allocations: 8 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1195, allocations: 35.78 kB / 484.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1198, allocations: 143.7 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1198, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1198, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1198, allocations: 0 / 484.9 MB, free: 1.094 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005832/0.1204, allocations: 419 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1205, allocations: 16.03 kB / 485.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.1205, allocations: 8.844 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.1207, allocations: 188.2 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1207, allocations: 384 / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1208, allocations: 8.375 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1209, allocations: 75.52 kB / 485.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1209, allocations: 3.906 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.121, allocations: 0 / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.121, allocations: 0 / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1211, allocations: 47.91 kB / 485.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.1215, allocations: 292.8 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1216, allocations: 50.56 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.1217, allocations: 28.91 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1217, allocations: 4.062 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1217, allocations: 34.56 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1217, allocations: 0 / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005788/0.1223, allocations: 177.2 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1224, allocations: 81.11 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1225, allocations: 152.4 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1226, allocations: 37.7 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.1226, allocations: 96.05 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1226, allocations: 23.64 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1227, allocations: 21.72 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1228, allocations: 322.8 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.1229, allocations: 19.98 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.123, allocations: 49.62 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1231, allocations: 64.81 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1231, allocations: 3.938 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002003/0.1233, allocations: 97.52 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1234, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1234, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1234, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1235, allocations: 24.02 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1235, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.1236, allocations: 15.92 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1236, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.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 (8): * Single equations (assignments): 8 * 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.827e-05/0.1237, allocations: 113.8 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1237, allocations: 19.8 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.124, allocations: 114.6 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.124, allocations: 8 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.124, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.124, allocations: 3.938 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1245, allocations: 394.4 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1245, allocations: 0 / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.1246, allocations: 16 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1246, allocations: 7.922 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1246, allocations: 384 / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1246, allocations: 4 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1246, allocations: 8 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1248, allocations: 199.3 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1249, allocations: 85.02 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1249, allocations: 3.938 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.125, allocations: 7.984 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.125, allocations: 12 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.125, allocations: 0 / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.988e-05/0.1251, allocations: 121.4 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1251, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1254, allocations: 43.92 kB / 488.3 MB, free: 13.29 MB / 366.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 (8): * Single equations (assignments): 8 * 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.001011/0.1264, allocations: 477.4 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1266, allocations: 71.88 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1267, allocations: 0 / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.1268, allocations: 39.97 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1271, allocations: 29.88 kB / 489 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.1275, allocations: 193.8 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1277, allocations: 0.6963 MB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.1278, allocations: 12.67 kB / 489.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.1279, allocations: 23.36 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1279, allocations: 0 / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004436/0.1323, allocations: 1.826 MB / 491.7 MB, free: 10.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches