Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001322, allocations: 205.8 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 76.66 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1131, allocations: 62.46 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002688/0.1159, allocations: 1.665 MB / 481.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008825/0.1168, allocations: 0.5417 MB / 482.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.1168, allocations: 0 / 482.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1171, allocations: 127.7 kB / 482.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1174, allocations: 111.7 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1176, allocations: 107.7 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1178, allocations: 91.8 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.1179, allocations: 15.98 kB / 482.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.118, allocations: 39.84 kB / 482.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1181, allocations: 83.78 kB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1181, allocations: 4 kB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-05/0.1182, allocations: 43.97 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1183, allocations: 27.86 kB / 482.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1183, allocations: 43.61 kB / 482.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1184, allocations: 91.88 kB / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1185, allocations: 0 / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1185, allocations: 0 / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1185, allocations: 0 / 482.9 MB, free: 2.695 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.0004501/0.1189, allocations: 435.1 kB / 483.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.119, allocations: 8.875 kB / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.119, allocations: 16.75 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1192, allocations: 204 kB / 483.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1192, allocations: 4.375 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1193, allocations: 4.375 kB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1194, allocations: 65.67 kB / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1194, allocations: 0 / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1194, allocations: 4 kB / 483.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1194, allocations: 0 / 483.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.1195, allocations: 35.95 kB / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1199, allocations: 320.6 kB / 484 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/0.1201, allocations: 46.5 kB / 484 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.1201, allocations: 24.94 kB / 484.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1201, allocations: 7.938 kB / 484.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1202, allocations: 34.56 kB / 484.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1202, allocations: 0 / 484.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008629/0.121, allocations: 241.3 kB / 484.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.1211, allocations: 51.41 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1213, allocations: 279.7 kB / 484.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1214, allocations: 29.7 kB / 484.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.1214, allocations: 116.1 kB / 484.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1215, allocations: 27.61 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1215, allocations: 17.72 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1216, allocations: 334.8 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.1217, allocations: 32 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.1218, allocations: 35.95 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.122, allocations: 68.83 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.122, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/0.1222, allocations: 109.5 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1222, allocations: 8 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1222, allocations: 4 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1223, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.1224, allocations: 23.92 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1224, allocations: 4 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.1224, allocations: 3.938 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1224, allocations: 4 kB / 485.5 MB, free: 15.93 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 0.0001001/0.1225, allocations: 133.8 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.1226, allocations: 23.73 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1229, allocations: 143.3 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1229, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1229, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1229, allocations: 7.938 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.1234, allocations: 435.2 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1235, allocations: 3.938 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.1235, allocations: 19.98 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1235, allocations: 3.938 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1236, allocations: 0 / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1236, allocations: 0 / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1236, allocations: 4 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1238, allocations: 224.2 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.1239, allocations: 92.86 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1239, allocations: 0 / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.124, allocations: 11.94 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.124, allocations: 7.984 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.124, allocations: 4 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1242, allocations: 205.5 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1242, allocations: 4 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1245, allocations: 27.98 kB / 486.8 MB, free: 14.49 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.0009912/0.1255, allocations: 444.9 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1257, allocations: 79.89 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1257, allocations: 0 / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.1258, allocations: 39.97 kB / 487.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1261, allocations: 23.88 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.1267, allocations: 383.8 kB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.127, allocations: 0.729 MB / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.127, allocations: 15.44 kB / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.127, allocations: 0 / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.003403/0.1305, allocations: 1.933 MB / 490.4 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches