Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 80.42 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 62.45 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003122/0.116, allocations: 1.614 MB / 482.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.117, allocations: 0.5455 MB / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.117, allocations: 0 / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1173, allocations: 111.6 kB / 483 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1177, allocations: 119.6 kB / 483.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1179, allocations: 87.52 kB / 483.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1181, allocations: 91.8 kB / 483.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1182, allocations: 19.98 kB / 483.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.1183, allocations: 43.83 kB / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1184, allocations: 63.81 kB / 483.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1184, allocations: 4 kB / 483.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.1185, allocations: 47.92 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.1186, allocations: 19.92 kB / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.1187, allocations: 43.67 kB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1188, allocations: 115.6 kB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1189, allocations: 0 / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1189, allocations: 0 / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1189, allocations: 0 / 483.7 MB, free: 2.309 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.0005167/0.1194, allocations: 427.1 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1194, allocations: 12.03 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.1195, allocations: 8.844 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1197, allocations: 213.6 kB / 484.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1197, allocations: 384 / 484.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1198, allocations: 4.375 kB / 484.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1199, allocations: 65.78 kB / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1199, allocations: 0 / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.12, allocations: 0 / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.12, allocations: 0 / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1201, allocations: 27.97 kB / 484.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.1205, allocations: 308.6 kB / 484.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1206, allocations: 46.5 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.1207, allocations: 16.94 kB / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1208, allocations: 0 / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1208, allocations: 38.56 kB / 484.8 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1208, allocations: 0 / 484.8 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000974/0.1218, allocations: 229 kB / 485 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1218, allocations: 55.34 kB / 485.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.1221, allocations: 262.1 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1222, allocations: 29.7 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1222, allocations: 112.1 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1223, allocations: 27.56 kB / 485.5 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1223, allocations: 25.7 kB / 485.5 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1225, allocations: 322.8 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.1226, allocations: 23.98 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.1227, allocations: 24 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.1229, allocations: 60.83 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1229, allocations: 4 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.1231, allocations: 105.4 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1231, allocations: 10.34 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1231, allocations: 320 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1231, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1233, allocations: 15.98 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1233, allocations: 4 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1233, allocations: 3.938 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1233, allocations: 11.98 kB / 486.1 MB, free: 15.64 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.0001131/0.1235, allocations: 129.8 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.1235, allocations: 11.91 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.1238, allocations: 130.9 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1238, allocations: 4 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1238, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1238, allocations: 15.86 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.1244, allocations: 407.3 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1244, allocations: 0 / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.1245, allocations: 15.98 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.1245, allocations: 7.938 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1245, allocations: 0 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1245, allocations: 32 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1245, allocations: 4 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.1248, allocations: 212.1 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1249, allocations: 84.95 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.1249, allocations: 8 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.125, allocations: 7.984 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.125, allocations: 7.938 kB / 487.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.125, allocations: 4 kB / 487.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1252, allocations: 188.4 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1252, allocations: 0 / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1255, allocations: 27.98 kB / 487.4 MB, free: 14.29 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.001665/0.1271, allocations: 447.5 kB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1274, allocations: 63.91 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1274, allocations: 3.938 kB / 487.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.1275, allocations: 43.91 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1279, allocations: 20.3 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.1285, allocations: 317.1 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1289, allocations: 0.7158 MB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.1289, allocations: 15.44 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1289, allocations: 0 / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of Templates: time 0.003883/0.1328, allocations: 1.84 MB / 490.8 MB, free: 10.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches