Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001182/0.001182, allocations: 91.5 kB / 21.19 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.0009803/0.0009803, allocations: 156.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.9264/0.9264, allocations: 177 MB / 204.8 MB, free: 5.598 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.2568/0.2568, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.473e-05, allocations: 3.578 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001801/0.001816, allocations: 1.646 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006525/0.002468, allocations: 0.5524 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.00251, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.002745, allocations: 115.6 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.002985, allocations: 123.5 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.003186, allocations: 111.6 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.003344, allocations: 95.69 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.003427, allocations: 15.97 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.00349, allocations: 43.89 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.003591, allocations: 67.86 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.003604, allocations: 4 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.003678, allocations: 51.91 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.003723, allocations: 27.92 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.003755, allocations: 11.94 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.003914, allocations: 103.5 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003917, allocations: 0 / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003917, allocations: 0 / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003921, allocations: 0 / 381.7 MB, free: 15.11 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.0003954/0.004316, allocations: 459.8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.004352, allocations: 8.031 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.004395, allocations: 20.84 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.004537, allocations: 149.2 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.004546, allocations: 4.375 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.004565, allocations: 4.375 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004676, allocations: 66.88 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.004686, allocations: 192 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004694, allocations: 384 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.0047, allocations: 4.375 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.004737, allocations: 19.92 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.005041, allocations: 299.7 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.005108, allocations: 46.98 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.005131, allocations: 11.78 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.005148, allocations: 3.984 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.00517, allocations: 41.33 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005171, allocations: 4 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000465/0.005636, allocations: 173.3 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.005663, allocations: 51.41 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.00581, allocations: 271 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.005822, allocations: 25.7 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.005883, allocations: 158.9 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.005907, allocations: 35.8 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.005937, allocations: 27.38 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.006052, allocations: 0.5001 MB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.006072, allocations: 15.98 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.006088, allocations: 4 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.006138, allocations: 35.67 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006139, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.147e-05/0.00622, allocations: 77.53 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.006235, allocations: 8 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.006238, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.006247, allocations: 3.938 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.006311, allocations: 19.98 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.006316, allocations: 320 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.006333, allocations: 7.938 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.006339, allocations: 0 / 384.3 MB, free: 12.38 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 6.304e-05/0.006402, allocations: 164.6 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.006425, allocations: 19.84 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.006542, allocations: 99.03 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.006544, allocations: 4 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.006547, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.006549, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.006819, allocations: 385 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00682, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.006853, allocations: 15.98 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006857, allocations: 4 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006862, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006864, allocations: 4 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006865, allocations: 0 / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006979, allocations: 247.4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.006988, allocations: 11.91 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.006999, allocations: 3.984 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.007031, allocations: 8.031 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.007061, allocations: 3.984 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.007066, allocations: 8 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.007139, allocations: 175.2 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007139, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000154/0.007293, allocations: 31.86 kB / 385.4 MB, free: 11.13 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.0008351/0.008128, allocations: 427.7 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.008225, allocations: 47.59 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008226, allocations: 4 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.008257, allocations: 35.61 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.008446, allocations: 19.92 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.00876, allocations: 245.6 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.008803, allocations: 75.33 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.008841, allocations: 20.7 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.008868, allocations: 16.56 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.008868, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.00285/0.01172, allocations: 1.532 MB / 387.8 MB, free: 8.809 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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: 2.9164656451903284]