Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.00135/0.00135, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009025/0.0009025, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9736/0.9736, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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.2962/0.2962, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.967e-05, allocations: 3.859 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.006414/0.006444, allocations: 1.704 MB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.01129, allocations: 1.293 MB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.01136, allocations: 4 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.01158, allocations: 23.8 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.012, allocations: 91.53 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.01236, allocations: 131.5 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.01254, allocations: 75.77 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.01264, allocations: 8 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.01273, allocations: 39.89 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.01285, allocations: 31.89 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.01287, allocations: 4 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.01307, allocations: 95.77 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.01314, allocations: 15.97 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.01317, allocations: 19.94 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.01345, allocations: 143.5 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01345, allocations: 0 / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01345, allocations: 4 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.01346, allocations: 0 / 382.5 MB, free: 14.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003557/0.01701, allocations: 428 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01706, allocations: 16.02 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/0.01712, allocations: 8.891 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.0173, allocations: 138.8 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.01731, allocations: 4.375 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.01734, allocations: 8.375 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.01753, allocations: 112 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01754, allocations: 192 / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.01756, allocations: 4.375 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01757, allocations: 384 / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.01761, allocations: 19.91 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.01796, allocations: 287.6 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.01805, allocations: 35.06 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.01808, allocations: 19.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.0181, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.01813, allocations: 41.33 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.01814, allocations: 4 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005116/0.01865, allocations: 129.3 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.01869, allocations: 77.11 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.01885, allocations: 200.9 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.01886, allocations: 29.7 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.01893, allocations: 138.8 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.01895, allocations: 19.92 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.019, allocations: 31.36 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01914, allocations: 0.4923 MB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.01917, allocations: 8 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.01923, allocations: 57.06 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/0.01929, allocations: 27.69 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01929, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00315/0.02244, allocations: 73.52 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.02246, allocations: 8 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.02247, allocations: 3.984 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.02248, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.0226, allocations: 12 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.0226, allocations: 0 / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.02265, allocations: 12.02 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.02266, allocations: 8 kB / 384.9 MB, free: 11.72 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 (7): * Single equations (assignments): 7 * 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 8.19e-05/0.02274, allocations: 152.6 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.02278, allocations: 19.84 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.02297, allocations: 94.59 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02297, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.02297, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.02298, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.02334, allocations: 333.4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02334, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.02341, allocations: 23.92 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.02342, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.02343, allocations: 3.938 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02343, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02343, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.02361, allocations: 227.8 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.02363, allocations: 11.95 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.02364, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.02372, allocations: 7.984 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.02376, allocations: 8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.02377, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.169e-05/0.02385, allocations: 151.2 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02385, allocations: 0 / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000304/0.02415, allocations: 43.86 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.004333/0.02848, allocations: 479.2 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.02863, allocations: 47.64 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02863, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.02867, allocations: 31.56 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.02895, allocations: 23.16 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.02937, allocations: 198.4 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.02941, allocations: 63.34 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.02946, allocations: 16.28 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.02951, allocations: 20.48 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02951, allocations: 0 / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of Templates: time 0.01111/0.04062, allocations: 2.149 MB / 388.9 MB, free: 7.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1606341493315995]