Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, 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.001897/0.001897, 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.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.33 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003264/0.1084, allocations: 1.647 MB / 481.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1095, allocations: 0.534 MB / 482.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.1096, allocations: 7.938 kB / 482.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1098, allocations: 23.92 kB / 482.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1101, allocations: 67.69 kB / 482.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1104, allocations: 99.58 kB / 482.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1106, allocations: 55.89 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.1107, allocations: 12 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.1107, allocations: 27.8 kB / 482.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.1108, allocations: 27.84 kB / 482.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1108, allocations: 0 / 482.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.1109, allocations: 28 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.1109, allocations: 11.98 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.111, allocations: 19.81 kB / 482.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1111, allocations: 63.91 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1111, allocations: 4 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1111, allocations: 0 / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1111, allocations: 0 / 482.6 MB, free: 3.051 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.0005082/0.1117, allocations: 391.3 kB / 482.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1117, allocations: 8.875 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1117, allocations: 8.844 kB / 483 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1119, allocations: 184.3 kB / 483.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1119, allocations: 4.375 kB / 483.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.112, allocations: 384 / 483.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1121, allocations: 61.8 kB / 483.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1121, allocations: 3.906 kB / 483.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1121, allocations: 4 kB / 483.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1122, allocations: 0 / 483.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1123, allocations: 27.92 kB / 483.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1126, allocations: 280.9 kB / 483.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1128, allocations: 38.56 kB / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.1129, allocations: 24.94 kB / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1129, allocations: 0 / 483.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.113, allocations: 34.5 kB / 483.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.113, allocations: 0 / 483.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005851/0.1136, allocations: 157.2 kB / 483.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1136, allocations: 59.34 kB / 483.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1137, allocations: 146.2 kB / 484 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1138, allocations: 25.7 kB / 484 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.1138, allocations: 96.12 kB / 484.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1138, allocations: 15.81 kB / 484.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1139, allocations: 17.7 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.114, allocations: 322.8 kB / 484.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.1141, allocations: 27.97 kB / 484.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1142, allocations: 23.92 kB / 484.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1143, allocations: 48.83 kB / 484.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1143, allocations: 0 / 484.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/0.1145, allocations: 89.84 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1145, allocations: 11.88 kB / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1145, allocations: 0 / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1146, allocations: 4 kB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.1146, allocations: 15.98 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1147, allocations: 0 / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.1147, allocations: 7.984 kB / 484.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1147, allocations: 0 / 484.7 MB, free: 0.7305 MB / 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 (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.734e-05/0.1148, allocations: 117.8 kB / 484.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.1148, allocations: 11.89 kB / 484.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.1151, allocations: 106.2 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1151, allocations: 3.938 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1151, allocations: 0 / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1151, allocations: 0 / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.1155, allocations: 358.4 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1155, allocations: 0 / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.1156, allocations: 15.98 kB / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1156, allocations: 4 kB / 485.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1156, allocations: 0 / 485.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1156, allocations: 7.938 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1156, allocations: 0 / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1159, allocations: 183.4 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1159, allocations: 77.11 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.116, allocations: 3.984 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.116, allocations: 15.94 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1161, allocations: 4 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1161, allocations: 3.984 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.1162, allocations: 113.7 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1162, allocations: 0 / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1164, allocations: 15.98 kB / 485.7 MB, free: 15.61 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.0008917/0.1173, allocations: 391.5 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1176, allocations: 63.89 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1176, allocations: 0 / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.1177, allocations: 27.92 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.118, allocations: 15.98 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.1184, allocations: 233.5 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1187, allocations: 0.6998 MB / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.1188, allocations: 11.44 kB / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1188, allocations: 0 / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.00313/0.1219, allocations: 1.466 MB / 488.6 MB, free: 12.78 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches