Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, 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.001269/0.001269, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 69.64 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 62.46 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002839/0.1114, allocations: 1.642 MB / 483.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.1123, allocations: 0.5415 MB / 483.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.1124, allocations: 4 kB / 483.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1126, allocations: 95.67 kB / 483.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1129, allocations: 111.6 kB / 483.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1132, allocations: 99.62 kB / 484 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1134, allocations: 99.75 kB / 484.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1135, allocations: 31.97 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.1135, allocations: 35.84 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1136, allocations: 63.81 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1137, allocations: 4 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.1138, allocations: 43.98 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1138, allocations: 31.84 kB / 484.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.1139, allocations: 47.61 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1141, allocations: 127.6 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1141, allocations: 0 / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1141, allocations: 0 / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1141, allocations: 4 kB / 484.4 MB, free: 1.562 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004545/0.1145, allocations: 430.9 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1146, allocations: 8.031 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1146, allocations: 16.75 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1148, allocations: 211.9 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1148, allocations: 4.375 kB / 485.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1149, allocations: 8.375 kB / 485.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.115, allocations: 69.78 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1151, allocations: 11.98 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1151, allocations: 0 / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1151, allocations: 0 / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1152, allocations: 39.97 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1156, allocations: 332.6 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1157, allocations: 62.55 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1158, allocations: 25 kB / 485.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1158, allocations: 7.984 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1159, allocations: 38.44 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1159, allocations: 0 / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009483/0.1168, allocations: 309.1 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1169, allocations: 55.34 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1171, allocations: 235.5 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1171, allocations: 29.7 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1172, allocations: 108.1 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1172, allocations: 47.34 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1173, allocations: 21.72 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1174, allocations: 334.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.1175, allocations: 31.98 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.1176, allocations: 39.97 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1178, allocations: 100.1 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1178, allocations: 0 / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002308/0.118, allocations: 133.5 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.118, allocations: 8 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.118, allocations: 0 / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1181, allocations: 0 / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1182, allocations: 27.92 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1182, allocations: 3.938 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1182, allocations: 15.98 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1183, allocations: 4 kB / 487.1 MB, free: 14.62 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 9.35e-05/0.1184, allocations: 133.8 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.1184, allocations: 15.81 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.1187, allocations: 167.8 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1187, allocations: 3.938 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1187, allocations: 4 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1188, allocations: 0 / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.1193, allocations: 487 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1193, allocations: 4 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.1194, allocations: 27.98 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1194, allocations: 0 / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1194, allocations: 4 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1194, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1194, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1197, allocations: 255.6 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.1198, allocations: 88.92 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1198, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.1199, allocations: 8 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1199, allocations: 7.984 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1199, allocations: 4 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1201, allocations: 181.2 kB / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1201, allocations: 11.94 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1203, allocations: 24 kB / 488.5 MB, free: 13.11 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.000937/0.1213, allocations: 442.2 kB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1215, allocations: 95.94 kB / 489.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1215, allocations: 0 / 489.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1216, allocations: 51.92 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.122, allocations: 43.58 kB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.1225, allocations: 311.9 kB / 489.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1228, allocations: 0.7157 MB / 490.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.1228, allocations: 24.47 kB / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.1229, allocations: 19.44 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1229, allocations: 0 / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of Templates: time 0.003818/0.1267, allocations: 1.54 MB / 491.8 MB, free: 10 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches