Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001565, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, 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.2027/0.2027, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 76.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1086, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00295/0.1116, allocations: 1.619 MB / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.1125, allocations: 0.5338 MB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.1126, allocations: 0 / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.1128, allocations: 83.7 kB / 483.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1132, allocations: 95.66 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1134, allocations: 91.69 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1136, allocations: 79.81 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1137, allocations: 16 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.1138, allocations: 31.84 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1139, allocations: 51.83 kB / 484 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1139, allocations: 4 kB / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.114, allocations: 43.98 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.1141, allocations: 23.91 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.1141, allocations: 31.75 kB / 484.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1143, allocations: 107.6 kB / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1143, allocations: 0 / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1143, allocations: 0 / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1143, allocations: 0 / 484.2 MB, free: 1.711 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.0005211/0.1148, allocations: 407 kB / 484.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1149, allocations: 8.031 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1149, allocations: 12.75 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1151, allocations: 196.1 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1152, allocations: 12.36 kB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1152, allocations: 384 / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1153, allocations: 61.73 kB / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1154, allocations: 0 / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1154, allocations: 4 kB / 484.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1154, allocations: 4 kB / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.1155, allocations: 35.89 kB / 485 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.1158, allocations: 284.8 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.116, allocations: 46.5 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.116, allocations: 16.94 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.116, allocations: 4 kB / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1161, allocations: 38.56 kB / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1161, allocations: 4 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008046/0.1169, allocations: 229.3 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1169, allocations: 51.41 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1171, allocations: 207.3 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1172, allocations: 25.7 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.1172, allocations: 104.1 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1173, allocations: 31.5 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.1173, allocations: 25.7 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1174, allocations: 322.8 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.1175, allocations: 23.98 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.1176, allocations: 27.98 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1177, allocations: 56.83 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1177, allocations: 4 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00019/0.1179, allocations: 93.56 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1179, allocations: 7.938 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1179, allocations: 4 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.118, allocations: 4 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.1181, allocations: 23.92 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1181, allocations: 0 / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.1181, allocations: 7.938 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1181, allocations: 4 kB / 486.6 MB, free: 15.14 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.395e-05/0.1182, allocations: 121.8 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1183, allocations: 15.81 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.1185, allocations: 123.3 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1185, allocations: 7.938 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1186, allocations: 0 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1186, allocations: 3.938 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.119, allocations: 399.3 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.119, allocations: 4.031 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.1191, allocations: 15.98 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1191, allocations: 3.938 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1191, allocations: 8 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1191, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1191, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1194, allocations: 208.1 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.1194, allocations: 88.95 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1195, allocations: 7.938 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.1195, allocations: 11.98 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1196, allocations: 4 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1196, allocations: 7.984 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1197, allocations: 148 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1197, allocations: 0 / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.12, allocations: 27.98 kB / 487.8 MB, free: 13.85 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.0009834/0.1209, allocations: 450.5 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1212, allocations: 67.91 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1212, allocations: 0 / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.1213, allocations: 35.97 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1216, allocations: 17.55 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.1221, allocations: 251.1 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1224, allocations: 0.7041 MB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.1224, allocations: 16.95 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1225, allocations: 15.44 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1225, allocations: 4 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.003971/0.1264, allocations: 1.346 MB / 490.7 MB, free: 11.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches