Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.00239/0.00239, allocations: 99.53 kB / 20.97 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.002869/0.002869, 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.576/1.576, allocations: 177 MB / 204.5 MB, free: 5.605 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.3771/0.3771, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.29e-05, allocations: 4.422 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.005024/0.005057, allocations: 1.658 MB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.006881, allocations: 0.5797 MB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.006949, allocations: 0 / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.007925, allocations: 451.1 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007719/0.008697, allocations: 303.1 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.009403, allocations: 175.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.009805, allocations: 179.6 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.00993, allocations: 15.98 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.01018, allocations: 123.8 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.01063, allocations: 243.6 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.01067, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.01081, allocations: 35.92 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.01098, allocations: 91.64 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.01107, allocations: 39.73 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.01158, allocations: 243.1 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01159, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01159, allocations: 4 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.0116, allocations: 0 / 381.3 MB, free: 14.76 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.001571/0.01317, allocations: 0.7201 MB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.01321, allocations: 8.031 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.01334, allocations: 48.66 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.0138, allocations: 252.8 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.01382, allocations: 4.312 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.01385, allocations: 4.375 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.01407, allocations: 54.23 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.01408, allocations: 192 / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.0141, allocations: 4.375 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.0141, allocations: 384 / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.01428, allocations: 27.92 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.01529, allocations: 479.6 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.01548, allocations: 43.05 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.01557, allocations: 19.69 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.01561, allocations: 4 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.01567, allocations: 41.33 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.01567, allocations: 4 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001147/0.01682, allocations: 268.7 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.01688, allocations: 51.41 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.01811, allocations: 0.6746 MB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.01815, allocations: 29.7 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.01858, allocations: 306.8 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.01862, allocations: 19.8 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.0187, allocations: 31.38 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005467/0.01925, allocations: 0.5743 MB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.01939, allocations: 23.92 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01951, allocations: 19.98 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.01977, allocations: 59.89 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01977, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004314/0.0202, allocations: 137.3 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.02022, allocations: 8 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02023, allocations: 4 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.02025, allocations: 0 / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.02041, allocations: 19.92 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.02042, allocations: 3.938 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.02052, allocations: 8 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.02054, allocations: 4 kB / 385.3 MB, free: 10.62 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 0.0001911/0.02073, allocations: 156.6 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.02085, allocations: 55.59 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.02135, allocations: 133.5 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.02136, allocations: 4 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02136, allocations: 0 / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02136, allocations: 0 / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.02255, allocations: 0.5363 MB / 386.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02256, allocations: 0 / 386.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.02267, allocations: 19.98 kB / 386.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02268, allocations: 0 / 386.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.02269, allocations: 4 kB / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02269, allocations: 0 / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02269, allocations: 0 / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.02325, allocations: 283.8 kB / 386.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.02334, allocations: 35.72 kB / 386.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.02339, allocations: 7.984 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.02354, allocations: 4 kB / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.0236, allocations: 11.97 kB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.02361, allocations: 0 / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000757/0.02437, allocations: 446.8 kB / 386.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02437, allocations: 0 / 386.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004817/0.02485, allocations: 31.94 kB / 387 MB, free: 8.84 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.004061/0.02891, allocations: 428.5 kB / 387.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.0293, allocations: 67.58 kB / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0293, allocations: 0 / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.02948, allocations: 47.81 kB / 387.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.03005, allocations: 38.19 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.0316, allocations: 0.6082 MB / 388.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.03198, allocations: 212.1 kB / 388.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.03208, allocations: 12.72 kB / 388.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.03215, allocations: 24.48 kB / 388.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.03215, allocations: 0 / 388.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of Templates: time 0.008353/0.0405, allocations: 1.486 MB / 389.9 MB, free: 6.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 5.055670436006039]