Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001841/0.001841, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3381/0.3381, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.065e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.005194/0.005225, allocations: 1.681 MB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.007334, allocations: 0.5408 MB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.007399, allocations: 4 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.008717, allocations: 451 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008696/0.009586, allocations: 291.2 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.01019, allocations: 135.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.01059, allocations: 179.6 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.01072, allocations: 11.98 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.01099, allocations: 119.8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.01149, allocations: 247.6 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.01153, allocations: 4 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.01175, allocations: 55.86 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.01195, allocations: 83.72 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.01205, allocations: 47.66 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006222/0.01267, allocations: 243.1 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01268, allocations: 0 / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01268, allocations: 0 / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01269, allocations: 0 / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001368/0.01405, allocations: 0.7239 MB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.0141, allocations: 8.031 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.01422, allocations: 44.66 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.01471, allocations: 256.8 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.01473, allocations: 8.375 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.01476, allocations: 4.375 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.01498, allocations: 54.19 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.015, allocations: 4.125 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.01501, allocations: 384 / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.01502, allocations: 4.375 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.01518, allocations: 23.92 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.01624, allocations: 475.7 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.01644, allocations: 54.98 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.01653, allocations: 19.69 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.01657, allocations: 7.938 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.01662, allocations: 33.39 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.01662, allocations: 0 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001503/0.01812, allocations: 296.7 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.01819, allocations: 55.34 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.01915, allocations: 0.6707 MB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.01917, allocations: 33.7 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.01954, allocations: 306.7 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.01959, allocations: 23.81 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.01966, allocations: 27.38 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003758/0.02004, allocations: 0.5742 MB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.02012, allocations: 19.98 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.02019, allocations: 23.98 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.02034, allocations: 59.89 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.02034, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002459/0.02059, allocations: 137.3 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.02061, allocations: 8 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.02061, allocations: 0 / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.02063, allocations: 0 / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.02073, allocations: 12 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.02074, allocations: 0 / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.02079, allocations: 7.984 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.0208, allocations: 8 kB / 385.2 MB, free: 10.64 MB / 362.7 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.0001384/0.02094, allocations: 164.5 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.02101, allocations: 47.72 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.02134, allocations: 145.4 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.02135, allocations: 3.984 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02135, allocations: 0 / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.02135, allocations: 3.938 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.02219, allocations: 0.5677 MB / 386.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02219, allocations: 0 / 386.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.02227, allocations: 20.02 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02227, allocations: 4 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.02228, allocations: 0 / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02228, allocations: 0 / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.02229, allocations: 4 kB / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.02263, allocations: 291.2 kB / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.0227, allocations: 39.72 kB / 386.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.02274, allocations: 3.984 kB / 386.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.02281, allocations: 4 kB / 386.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.02286, allocations: 11.92 kB / 386.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.02287, allocations: 4 kB / 386.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005269/0.02339, allocations: 442.8 kB / 387 MB, free: 8.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02339, allocations: 0 / 387 MB, free: 8.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000283/0.02368, allocations: 27.98 kB / 387 MB, free: 8.789 MB / 362.7 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.003319/0.02699, allocations: 0.4885 MB / 387.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.02723, allocations: 67.59 kB / 387.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02723, allocations: 0 / 387.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.02733, allocations: 39.61 kB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.02769, allocations: 33.95 kB / 387.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.02881, allocations: 0.6095 MB / 388.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.02908, allocations: 216 kB / 388.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.777e-05/0.02915, allocations: 9.047 kB / 388.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.0292, allocations: 16.48 kB / 388.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0292, allocations: 0 / 388.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of Templates: time 0.005893/0.03509, allocations: 1.572 MB / 390 MB, free: 5.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.89265533699654]