Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 8.895 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 80.58 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 62.45 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003072/0.1147, allocations: 1.665 MB / 481.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1158, allocations: 0.5495 MB / 482.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1159, allocations: 0 / 482.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1162, allocations: 107.8 kB / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1165, allocations: 103.7 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1168, allocations: 103.8 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.117, allocations: 87.73 kB / 482.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1171, allocations: 12 kB / 482.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.1171, allocations: 35.89 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1173, allocations: 75.8 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1173, allocations: 0 / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1174, allocations: 47.92 kB / 482.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1175, allocations: 31.8 kB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.1175, allocations: 31.73 kB / 482.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1177, allocations: 83.83 kB / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1177, allocations: 0 / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1177, allocations: 0 / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1177, allocations: 0 / 482.9 MB, free: 2.742 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.0005397/0.1183, allocations: 439.1 kB / 483.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1183, allocations: 12.88 kB / 483.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.1184, allocations: 8.844 kB / 483.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1186, allocations: 208.8 kB / 483.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1186, allocations: 384 / 483.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1186, allocations: 4.375 kB / 483.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1188, allocations: 61.73 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1189, allocations: 0 / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1189, allocations: 0 / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1189, allocations: 0 / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.119, allocations: 35.95 kB / 483.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1194, allocations: 312.7 kB / 483.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1196, allocations: 46.5 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1196, allocations: 16.94 kB / 484 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1197, allocations: 4 kB / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1197, allocations: 38.56 kB / 484 MB, free: 1.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1197, allocations: 0 / 484 MB, free: 1.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000945/0.1206, allocations: 245.3 kB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1207, allocations: 59.41 kB / 484.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1209, allocations: 251 kB / 484.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.121, allocations: 29.7 kB / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.121, allocations: 108.1 kB / 484.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1211, allocations: 35.61 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1211, allocations: 25.66 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1212, allocations: 326.8 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.1213, allocations: 31.98 kB / 485.1 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.1214, allocations: 31.97 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1216, allocations: 73.05 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1216, allocations: 4 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002312/0.1218, allocations: 109.5 kB / 485.3 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1219, allocations: 7.984 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1219, allocations: 4 kB / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1219, allocations: 0 / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.122, allocations: 19.94 kB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.122, allocations: 3.984 kB / 485.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.1221, allocations: 15.88 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1221, allocations: 0 / 485.4 MB, free: 0 / 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 (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 0.0001187/0.1222, allocations: 133.8 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.1223, allocations: 11.89 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.1226, allocations: 138.9 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1226, allocations: 4 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1226, allocations: 3.938 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1226, allocations: 3.938 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1232, allocations: 427.3 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1232, allocations: 0 / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.1232, allocations: 15.98 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.1233, allocations: 7.938 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1233, allocations: 0 / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1233, allocations: 0 / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1233, allocations: 7.984 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1236, allocations: 220.2 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1236, allocations: 88.95 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1236, allocations: 7.938 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/0.1237, allocations: 7.984 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1238, allocations: 4 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1238, allocations: 0 / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1239, allocations: 188.4 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1239, allocations: 0 / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1242, allocations: 31.98 kB / 486.6 MB, free: 14.61 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.001029/0.1252, allocations: 451.2 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1255, allocations: 75.88 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1255, allocations: 4 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.1256, allocations: 39.97 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1259, allocations: 15.94 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1265, allocations: 370.7 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1269, allocations: 0.7179 MB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.1269, allocations: 19.44 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1269, allocations: 0 / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.003618/0.1305, allocations: 1.887 MB / 490.2 MB, free: 11.15 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches