Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, 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.001295/0.001295, allocations: 203.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.265/1.265, 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.1962/0.1962, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002809/0.1109, allocations: 1.646 MB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009027/0.1119, allocations: 0.5572 MB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.1119, allocations: 0 / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1122, allocations: 95.67 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1125, allocations: 111.6 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1128, allocations: 119.6 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1129, allocations: 99.73 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1131, allocations: 31.98 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.1131, allocations: 43.83 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1133, allocations: 59.81 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1133, allocations: 4 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.1134, allocations: 51.92 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1134, allocations: 31.86 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.1135, allocations: 47.66 kB / 484.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1137, allocations: 127.5 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1137, allocations: 0 / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1137, allocations: 4 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1137, allocations: 0 / 484.5 MB, free: 1.484 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004777/0.1142, allocations: 438.7 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1142, allocations: 12.03 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.1143, allocations: 12.84 kB / 484.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1145, allocations: 212 kB / 485.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1145, allocations: 4.375 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1145, allocations: 12.36 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1147, allocations: 73.8 kB / 485.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1147, allocations: 0 / 485.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1147, allocations: 3.984 kB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1147, allocations: 4 kB / 485.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1148, allocations: 47.89 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1153, allocations: 340.6 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1154, allocations: 74.48 kB / 485.7 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1155, allocations: 24.84 kB / 485.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1155, allocations: 0 / 485.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1155, allocations: 34.56 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1155, allocations: 0 / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009892/0.1165, allocations: 333.4 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1166, allocations: 51.53 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1168, allocations: 239.5 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1168, allocations: 37.58 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.1169, allocations: 116 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1169, allocations: 47.28 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.117, allocations: 41.66 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.1171, allocations: 326.8 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.1172, allocations: 43.97 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.1173, allocations: 43.97 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1175, allocations: 112.3 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1175, allocations: 0 / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002506/0.1177, allocations: 157.5 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1178, allocations: 4 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1178, allocations: 4 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1178, allocations: 3.938 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1179, allocations: 27.92 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1179, allocations: 0 / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.118, allocations: 11.98 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.118, allocations: 8 kB / 487.3 MB, free: 14.41 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 (13): * Single equations (assignments): 13 * 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.0001064/0.1181, allocations: 133.8 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1181, allocations: 11.91 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.1185, allocations: 194.9 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1185, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1185, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1185, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.1191, allocations: 0.4952 MB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1191, allocations: 0 / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.1192, allocations: 27.92 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1192, allocations: 0 / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1192, allocations: 8 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1192, allocations: 0 / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1193, allocations: 0 / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1195, allocations: 264.2 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1196, allocations: 92.91 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1196, allocations: 0 / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1197, allocations: 8 kB / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1197, allocations: 7.984 kB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1198, allocations: 4 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1199, allocations: 189.2 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1199, allocations: 0 / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1202, allocations: 27.94 kB / 488.8 MB, free: 12.86 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 (13): * Single equations (assignments): 13 * 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.001004/0.1212, allocations: 455 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.1215, allocations: 123.8 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1215, allocations: 0 / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1216, allocations: 59.91 kB / 489.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.122, allocations: 29.67 kB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.1225, allocations: 319.9 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1228, allocations: 0.7274 MB / 490.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.1229, allocations: 24.55 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.123, allocations: 23.38 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.123, allocations: 4 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.004056/0.127, allocations: 1.602 MB / 492.1 MB, free: 9.625 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches