Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008594/0.0008595, allocations: 92.44 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009621/0.0009623, allocations: 201.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 247.5 MB, free: 9.324 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 46.18 MB / 345.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 63.56 MB / 483.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002023/0.1085, allocations: 1.369 MB / 485.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.1095, allocations: 0.5379 MB / 485.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.1096, allocations: 0 / 485.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.1098, allocations: 27.91 kB / 485.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.11, allocations: 67.75 kB / 485.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1103, allocations: 107.6 kB / 485.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1105, allocations: 87.77 kB / 485.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1106, allocations: 31.97 kB / 485.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1108, allocations: 23.86 kB / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.1108, allocations: 31.84 kB / 486 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1109, allocations: 7.938 kB / 486 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.111, allocations: 39.98 kB / 486.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.111, allocations: 11.92 kB / 486.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.1111, allocations: 65.42 kB / 486.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1112, allocations: 76.11 kB / 486.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1112, allocations: 7.938 kB / 486.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1113, allocations: 0 / 486.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1113, allocations: 0 / 486.2 MB, free: 1.602 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.0004824/0.1118, allocations: 391.2 kB / 486.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1118, allocations: 8.875 kB / 486.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1118, allocations: 16.78 kB / 486.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.112, allocations: 200.1 kB / 486.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1121, allocations: 8.375 kB / 486.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1121, allocations: 8.375 kB / 486.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1123, allocations: 85.72 kB / 486.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1123, allocations: 4 kB / 486.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1123, allocations: 0 / 486.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1123, allocations: 4 kB / 486.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1124, allocations: 43.97 kB / 487 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.1129, allocations: 340.6 kB / 487.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.113, allocations: 70.48 kB / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.1131, allocations: 24.84 kB / 487.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1131, allocations: 4.156 kB / 487.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1132, allocations: 34.56 kB / 487.4 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1132, allocations: 0 / 487.4 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001126/0.1143, allocations: 365.3 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1144, allocations: 51.41 kB / 487.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1145, allocations: 165.8 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1145, allocations: 25.7 kB / 488 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.1146, allocations: 104.1 kB / 488.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1146, allocations: 43.34 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1147, allocations: 17.72 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1148, allocations: 318.8 kB / 488.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1149, allocations: 47.97 kB / 488.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.115, allocations: 52.09 kB / 488.6 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.1153, allocations: 124.1 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1153, allocations: 3.984 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000299/0.1156, allocations: 165.4 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1156, allocations: 7.938 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1156, allocations: 0 / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1156, allocations: 4 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1158, allocations: 23.98 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1158, allocations: 7.938 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.1158, allocations: 8 kB / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1159, allocations: 7.984 kB / 488.9 MB, free: 14.65 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 (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 9.93e-05/0.116, allocations: 125.8 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.116, allocations: 15.75 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.1164, allocations: 194.4 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1164, allocations: 3.984 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1164, allocations: 0 / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1164, allocations: 4 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.1171, allocations: 0.4913 MB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1171, allocations: 4 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.1172, allocations: 31.86 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1172, allocations: 4 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1172, allocations: 3.984 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1172, allocations: 0 / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1172, allocations: 4 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1176, allocations: 263.6 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.1176, allocations: 96.84 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1177, allocations: 4 kB / 490.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.1178, allocations: 8 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1178, allocations: 11.98 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1178, allocations: 4 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1179, allocations: 130.2 kB / 490.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1179, allocations: 4 kB / 490.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1182, allocations: 23.98 kB / 490.3 MB, free: 13.14 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 (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.001019/0.1192, allocations: 457 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1195, allocations: 123.5 kB / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1196, allocations: 0 / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1197, allocations: 63.91 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.12, allocations: 23.08 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.1206, allocations: 332.6 kB / 491.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1209, allocations: 0.7083 MB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.1209, allocations: 31.36 kB / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1209, allocations: 0 / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.003831/0.1248, allocations: 1.999 MB / 494.1 MB, free: 9.516 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches