Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 74.05 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1145, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002814/0.1173, allocations: 1.587 MB / 483.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1189, allocations: 1.163 MB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.119, allocations: 4 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.1192, allocations: 15.86 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1195, allocations: 83.61 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1197, allocations: 87.7 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1199, allocations: 67.83 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.12, allocations: 12 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.12, allocations: 27.86 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1202, allocations: 43.7 kB / 484.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1202, allocations: 4 kB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1204, allocations: 95.94 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1204, allocations: 15.92 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.1205, allocations: 23.8 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1207, allocations: 139.7 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1207, allocations: 4 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1208, allocations: 0 / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1208, allocations: 0 / 484.8 MB, free: 1.152 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004864/0.1213, allocations: 399.2 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1213, allocations: 8.031 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.1213, allocations: 8.922 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1216, allocations: 200 kB / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.1216, allocations: 384 / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1216, allocations: 12.31 kB / 485.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1217, allocations: 71.52 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1218, allocations: 0 / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1218, allocations: 3.938 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1218, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.1219, allocations: 27.97 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.1222, allocations: 280.8 kB / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1225, allocations: 42.61 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.1225, allocations: 20.89 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1225, allocations: 0 / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1226, allocations: 34.56 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1226, allocations: 0 / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005168/0.1231, allocations: 145.2 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1231, allocations: 77.11 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1233, allocations: 148.2 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1233, allocations: 25.7 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.1234, allocations: 92.14 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1234, allocations: 19.7 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.1235, allocations: 17.72 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1236, allocations: 326.8 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1236, allocations: 23.92 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.1237, allocations: 29.7 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1238, allocations: 48.83 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1238, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001728/0.124, allocations: 73.7 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.124, allocations: 8 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1241, allocations: 0 / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1241, allocations: 0 / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.1241, allocations: 15.92 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1242, allocations: 4 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.1242, allocations: 0 / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1242, allocations: 11.94 kB / 487 MB, free: 14.78 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 (5): * Single equations (assignments): 5 * 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 7.914e-05/0.1243, allocations: 121.8 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1243, allocations: 7.906 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.1246, allocations: 85.97 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1246, allocations: 3.938 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1246, allocations: 320 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1246, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.125, allocations: 362.3 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.125, allocations: 0 / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.1251, allocations: 11.98 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1251, allocations: 4 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1251, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1251, allocations: 3.938 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1251, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1254, allocations: 191.3 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1254, allocations: 85.11 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1254, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.1255, allocations: 11.92 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.1255, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1256, allocations: 4 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.651e-05/0.1257, allocations: 111.2 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1257, allocations: 0 / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1259, allocations: 35.98 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001042/0.127, allocations: 489.9 kB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1272, allocations: 47.91 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1272, allocations: 4 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.1273, allocations: 23.97 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1276, allocations: 28.66 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.128, allocations: 169.6 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1283, allocations: 0.6924 MB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.1283, allocations: 19.91 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1284, allocations: 15.44 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1284, allocations: 0 / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.00408/0.1325, allocations: 1.748 MB / 491.2 MB, free: 10.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches