Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 117 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.001104/0.001104, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, 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.209/0.209, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 74.7 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003077/0.1165, allocations: 1.594 MB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.1175, allocations: 0.5299 MB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.1176, allocations: 4 kB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1178, allocations: 23.8 kB / 483.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.1181, allocations: 83.61 kB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1184, allocations: 87.7 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1185, allocations: 67.77 kB / 483.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1186, allocations: 16 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.472e-05/0.1187, allocations: 19.92 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.1188, allocations: 23.84 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1188, allocations: 4 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.1189, allocations: 27.98 kB / 483.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1189, allocations: 11.94 kB / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.119, allocations: 15.88 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1191, allocations: 87.7 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1192, allocations: 0 / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1192, allocations: 3.938 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1192, allocations: 4 kB / 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.0005042/0.1197, allocations: 391.1 kB / 484.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1197, allocations: 8.031 kB / 484.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1198, allocations: 8.844 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.12, allocations: 180.3 kB / 484.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.12, allocations: 4.359 kB / 484.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.12, allocations: 4.375 kB / 484.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1202, allocations: 49.81 kB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1202, allocations: 11.91 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1202, allocations: 0 / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1202, allocations: 3.984 kB / 484.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.1203, allocations: 23.92 kB / 484.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1206, allocations: 280.9 kB / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1209, allocations: 38.56 kB / 485 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.1209, allocations: 20.94 kB / 485.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1209, allocations: 3.938 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.121, allocations: 38.5 kB / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.121, allocations: 0 / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005368/0.1215, allocations: 145.2 kB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1216, allocations: 55.41 kB / 485.3 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1217, allocations: 153.2 kB / 485.4 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1218, allocations: 25.7 kB / 485.5 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.1218, allocations: 96.12 kB / 485.6 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1218, allocations: 7.812 kB / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1219, allocations: 21.7 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.122, allocations: 322.8 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.1221, allocations: 19.98 kB / 485.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.1222, allocations: 19.98 kB / 485.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1223, allocations: 44.83 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1223, allocations: 3.938 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.1225, allocations: 85.52 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1225, allocations: 4 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1225, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1225, allocations: 7.984 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.1226, allocations: 12 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1226, allocations: 0 / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.1227, allocations: 7.984 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1227, allocations: 0 / 486.1 MB, free: 15.6 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 8.979e-05/0.1228, allocations: 117.8 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1228, allocations: 7.906 kB / 486.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.123, allocations: 102.1 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1231, allocations: 0 / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1231, allocations: 3.984 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1231, allocations: 0 / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.1235, allocations: 346.4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1235, allocations: 4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.1235, allocations: 11.98 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1236, allocations: 4 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1236, allocations: 3.938 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1236, allocations: 3.938 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1236, allocations: 4 kB / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.1238, allocations: 179.4 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.1238, allocations: 77.11 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1239, allocations: 4 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1239, allocations: 11.94 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.124, allocations: 7.984 kB / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.124, allocations: 0 / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.122e-05/0.1241, allocations: 119.2 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1241, allocations: 0 / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1243, allocations: 8 kB / 487.1 MB, free: 14.5 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.0008918/0.1252, allocations: 399.4 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1254, allocations: 51.91 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1254, allocations: 0 / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.1255, allocations: 23.98 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1259, allocations: 37.92 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.1264, allocations: 178 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1267, allocations: 0.6963 MB / 488.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.1267, allocations: 7.984 kB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.1268, allocations: 19.38 kB / 488.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1268, allocations: 0 / 488.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.003508/0.1303, allocations: 1.099 MB / 489.6 MB, free: 12.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches