Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002908/0.1185, allocations: 1.587 MB / 483 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009357/0.1195, allocations: 0.53 MB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.1195, allocations: 4 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1197, allocations: 23.8 kB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.12, allocations: 87.55 kB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1203, allocations: 119 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1204, allocations: 59.84 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1205, allocations: 15.97 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.1206, allocations: 23.86 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.1207, allocations: 23.86 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1207, allocations: 4 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.1208, allocations: 39.98 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.1208, allocations: 11.98 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.1209, allocations: 23.8 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.121, allocations: 75.8 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.121, allocations: 3.938 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.121, allocations: 0 / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.121, allocations: 0 / 484.1 MB, free: 1.883 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.0004872/0.1215, allocations: 383.1 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1216, allocations: 12.03 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1216, allocations: 8.844 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1218, allocations: 192.2 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1218, allocations: 4.375 kB / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1219, allocations: 4.375 kB / 484.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.122, allocations: 45.81 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.122, allocations: 3.906 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.122, allocations: 11.98 kB / 484.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.122, allocations: 0 / 484.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.1221, allocations: 23.92 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.1225, allocations: 284.9 kB / 485 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1227, allocations: 46.55 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1228, allocations: 16.8 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1228, allocations: 8.078 kB / 485.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.1228, allocations: 30.56 kB / 485.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1229, allocations: 4 kB / 485.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000527/0.1234, allocations: 149.2 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1234, allocations: 55.41 kB / 485.3 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1236, allocations: 149.2 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1236, allocations: 25.7 kB / 485.5 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.1236, allocations: 104.1 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1237, allocations: 7.812 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1237, allocations: 21.7 kB / 485.6 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1238, allocations: 322.8 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.1239, allocations: 23.92 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.124, allocations: 23.97 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1241, allocations: 56.83 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1241, allocations: 3.938 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001671/0.1243, allocations: 81.52 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1243, allocations: 7.984 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1243, allocations: 4 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1243, allocations: 0 / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.1244, allocations: 8 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1244, allocations: 0 / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1244, allocations: 11.98 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1245, allocations: 4 kB / 486.2 MB, free: 15.56 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.173e-05/0.1245, allocations: 121.8 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.1246, allocations: 7.906 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.1248, allocations: 102.1 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1248, allocations: 4 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1248, allocations: 4.062 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1248, allocations: 0 / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.1252, allocations: 362.4 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1252, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.1253, allocations: 11.98 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1253, allocations: 7.938 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1253, allocations: 0 / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1253, allocations: 3.938 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1253, allocations: 0 / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1255, allocations: 187.7 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.1256, allocations: 77.11 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1256, allocations: 7.984 kB / 487 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.1257, allocations: 7.922 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.1257, allocations: 4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1257, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.91e-05/0.1258, allocations: 119.2 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1258, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1261, allocations: 20 kB / 487.2 MB, free: 14.43 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.0008516/0.1269, allocations: 402.1 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1271, allocations: 51.89 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1271, allocations: 0 / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.1272, allocations: 27.98 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1276, allocations: 31.42 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.1279, allocations: 186 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1282, allocations: 0.6963 MB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.1282, allocations: 11.98 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.1283, allocations: 15.44 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1283, allocations: 0 / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.003301/0.1316, allocations: 1.118 MB / 489.7 MB, free: 11.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches