Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009109/0.000911, allocations: 94.94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001272, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002775, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002052/0.115, allocations: 1.334 MB / 484.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.116, allocations: 0.5262 MB / 484.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.1161, allocations: 0 / 484.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1164, allocations: 67.83 kB / 485 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.1167, allocations: 87.8 kB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.117, allocations: 75.84 kB / 485.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1172, allocations: 83.8 kB / 485.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1174, allocations: 12 kB / 485.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.1175, allocations: 31.8 kB / 485.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1176, allocations: 55.81 kB / 485.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1176, allocations: 4 kB / 485.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1177, allocations: 43.97 kB / 485.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1178, allocations: 19.92 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.1179, allocations: 53.45 kB / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1181, allocations: 103.7 kB / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1181, allocations: 3.984 kB / 485.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.242e-06/0.1181, allocations: 0 / 485.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1181, allocations: 3.938 kB / 485.6 MB, free: 1.656 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.0006154/0.1188, allocations: 395.5 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1188, allocations: 12.81 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1189, allocations: 16.75 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1191, allocations: 202.7 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1192, allocations: 384 / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1192, allocations: 4.375 kB / 486.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1194, allocations: 57.8 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1194, allocations: 0 / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1194, allocations: 8 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1194, allocations: 0 / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1195, allocations: 23.98 kB / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.12, allocations: 304.6 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1202, allocations: 50.55 kB / 486.6 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.1202, allocations: 20.8 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1202, allocations: 0 / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1203, allocations: 38.5 kB / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1203, allocations: 0 / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009732/0.1213, allocations: 269.5 kB / 487 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1213, allocations: 51.41 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.1216, allocations: 214.7 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1216, allocations: 29.64 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.1217, allocations: 108.1 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1217, allocations: 23.66 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1217, allocations: 17.7 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1219, allocations: 326.8 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.1219, allocations: 23.98 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.122, allocations: 27.98 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1222, allocations: 76.83 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1222, allocations: 0 / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002405/0.1225, allocations: 113.4 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1225, allocations: 8 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1225, allocations: 0 / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1225, allocations: 4 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1226, allocations: 19.98 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1227, allocations: 0 / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.1227, allocations: 11.94 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1227, allocations: 4 kB / 488 MB, free: 15.02 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.0001004/0.1228, allocations: 125.8 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.1229, allocations: 11.91 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1232, allocations: 134.8 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1232, allocations: 0 / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.1232, allocations: 0 / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1232, allocations: 3.938 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.1238, allocations: 411.3 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1238, allocations: 0 / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.1239, allocations: 19.98 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1239, allocations: 7.969 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1239, allocations: 8 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1239, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1239, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1242, allocations: 220.6 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.1243, allocations: 92.94 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1243, allocations: 4 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.1244, allocations: 8 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1245, allocations: 3.984 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1245, allocations: 11.88 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1246, allocations: 168.7 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 4 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1249, allocations: 16 kB / 489.2 MB, free: 13.68 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.001092/0.126, allocations: 448.4 kB / 489.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1263, allocations: 71.95 kB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1263, allocations: 0 / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1264, allocations: 47.86 kB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1268, allocations: 19.92 kB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.1273, allocations: 298.2 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1276, allocations: 0.7082 MB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.1277, allocations: 12.97 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1277, allocations: 19.42 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1277, allocations: 0 / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.003908/0.1317, allocations: 1.286 MB / 492.1 MB, free: 10.9 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches