Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001845, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.11 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 76.22 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003179/0.1133, allocations: 1.669 MB / 481.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.1143, allocations: 0.5417 MB / 482.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.1144, allocations: 4 kB / 482.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1146, allocations: 75.83 kB / 482.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1149, allocations: 91.72 kB / 482.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1151, allocations: 95.81 kB / 482.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1153, allocations: 71.83 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.1153, allocations: 16 kB / 482.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.1154, allocations: 39.78 kB / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1155, allocations: 47.81 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1155, allocations: 4 kB / 482.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.244e-05/0.1156, allocations: 43.98 kB / 482.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.1157, allocations: 19.92 kB / 482.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.1157, allocations: 31.69 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1159, allocations: 75.89 kB / 482.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1159, allocations: 4 kB / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1159, allocations: 0 / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1159, allocations: 0 / 482.8 MB, free: 2.863 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.0004469/0.1163, allocations: 411.3 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1164, allocations: 12.88 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1164, allocations: 12.75 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1166, allocations: 200.1 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1166, allocations: 384 / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1166, allocations: 8.359 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1168, allocations: 69.72 kB / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1168, allocations: 0 / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1168, allocations: 0 / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1168, allocations: 0 / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.1169, allocations: 23.98 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1173, allocations: 300.8 kB / 483.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1175, allocations: 46.5 kB / 483.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.1175, allocations: 20.94 kB / 483.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1175, allocations: 4 kB / 483.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1176, allocations: 30.56 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1176, allocations: 0 / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008965/0.1185, allocations: 245 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.1185, allocations: 51.41 kB / 484.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1187, allocations: 207.3 kB / 484.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1187, allocations: 29.7 kB / 484.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.1188, allocations: 100.1 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1188, allocations: 35.55 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1189, allocations: 21.72 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.119, allocations: 322.8 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.1191, allocations: 31.97 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.1192, allocations: 35.92 kB / 484.9 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1194, allocations: 72.81 kB / 485 MB, free: 404 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1194, allocations: 4 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002337/0.1196, allocations: 109.5 kB / 485.1 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1196, allocations: 7.938 kB / 485.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1196, allocations: 4 kB / 485.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1197, allocations: 3.938 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.1198, allocations: 19.98 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1198, allocations: 3.938 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1198, allocations: 15.92 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1198, allocations: 4 kB / 485.2 MB, free: 224 kB / 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 8.658e-05/0.1199, allocations: 125.8 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.12, allocations: 11.81 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.1203, allocations: 131.3 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1203, allocations: 0 / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1203, allocations: 0 / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1203, allocations: 3.938 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1208, allocations: 419.3 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1209, allocations: 0 / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.1209, allocations: 23.92 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1209, allocations: 4.359 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.121, allocations: 4 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.121, allocations: 4 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.121, allocations: 4.031 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1212, allocations: 212.2 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1213, allocations: 92.94 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1213, allocations: 0 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-05/0.1214, allocations: 7.984 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1215, allocations: 11.94 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1215, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1216, allocations: 155.9 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1216, allocations: 0 / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1218, allocations: 16 kB / 486.4 MB, free: 14.91 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.001006/0.1229, allocations: 471.4 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1231, allocations: 75.92 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1231, allocations: 3.938 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/0.1232, allocations: 35.98 kB / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1236, allocations: 23.92 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1241, allocations: 314.7 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1244, allocations: 0.7121 MB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1244, allocations: 15.44 kB / 488 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1244, allocations: 0 / 488 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.003613/0.128, allocations: 1.779 MB / 489.8 MB, free: 11.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches