Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, 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.001212/0.001213, 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.303/1.303, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 79.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1147, allocations: 62.46 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00305/0.1178, allocations: 1.605 MB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.1188, allocations: 0.5338 MB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.1188, allocations: 0 / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1191, allocations: 83.75 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.1194, allocations: 95.59 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1197, allocations: 103.6 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1198, allocations: 79.81 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1199, allocations: 15.98 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.12, allocations: 31.86 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1201, allocations: 55.81 kB / 484.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1201, allocations: 4 kB / 484.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.1202, allocations: 55.97 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1203, allocations: 19.92 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.1203, allocations: 35.69 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1205, allocations: 103.7 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1205, allocations: 7.938 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1205, allocations: 4 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1205, allocations: 0 / 484.3 MB, free: 1.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004584/0.121, allocations: 406.9 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.121, allocations: 8.031 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1211, allocations: 12.84 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1213, allocations: 200.8 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1213, allocations: 8.375 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1213, allocations: 4.312 kB / 484.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1215, allocations: 57.75 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1215, allocations: 4 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.1215, allocations: 3.938 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1215, allocations: 4 kB / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.1216, allocations: 27.97 kB / 485 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.122, allocations: 296.7 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1221, allocations: 50.48 kB / 485.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1222, allocations: 20.94 kB / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1222, allocations: 4 kB / 485.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1222, allocations: 30.56 kB / 485.4 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1223, allocations: 4 kB / 485.4 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008545/0.1231, allocations: 225.1 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1232, allocations: 51.41 kB / 485.7 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1234, allocations: 222.4 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1234, allocations: 29.7 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.1235, allocations: 104.1 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1235, allocations: 27.56 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1236, allocations: 21.7 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1237, allocations: 322.8 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.1238, allocations: 23.98 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1239, allocations: 23.98 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.124, allocations: 68.77 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.124, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001867/0.1242, allocations: 101.5 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1242, allocations: 7.984 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1242, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1243, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1244, allocations: 19.98 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1244, allocations: 4 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.1244, allocations: 7.938 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1245, allocations: 0 / 486.6 MB, free: 15.12 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 9.048e-05/0.1245, allocations: 137.7 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1246, allocations: 11.81 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1248, allocations: 115.3 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1249, allocations: 4 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1249, allocations: 4 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1249, allocations: 3.938 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1253, allocations: 407.4 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1254, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.1254, allocations: 23.92 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1254, allocations: 3.938 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1255, allocations: 0 / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1255, allocations: 11.97 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1255, allocations: 4 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1257, allocations: 200.2 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1258, allocations: 84.95 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1258, allocations: 8 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1259, allocations: 11.98 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1259, allocations: 3.938 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1259, allocations: 7.984 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.126, allocations: 164.2 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.126, allocations: 0 / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1263, allocations: 16 kB / 487.8 MB, free: 13.81 MB / 366.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 (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.001026/0.1273, allocations: 452.3 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1275, allocations: 63.95 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1275, allocations: 3.938 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.1276, allocations: 36.05 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.128, allocations: 17.55 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.1284, allocations: 262.8 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1287, allocations: 0.7157 MB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.1287, allocations: 12.97 kB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.1287, allocations: 19.42 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1287, allocations: 0 / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Templates: time 0.00356/0.1323, allocations: 1.35 MB / 490.8 MB, free: 11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches