Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001007/0.001007, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001171/0.001171, allocations: 169.2 kB / 25.61 MB, free: 8.574 MB / 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.9913/0.9913, allocations: 177 MB / 205.9 MB, free: 4.422 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.1581/0.1581, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.633e-05, allocations: 4.812 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003048/0.003075, allocations: 1.631 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.006259, allocations: 1.273 MB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.006352, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.006639, allocations: 31.72 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.007023, allocations: 83.56 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.007327, allocations: 87.69 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.007501, allocations: 75.7 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.007615, allocations: 8 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.007692, allocations: 31.91 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.007811, allocations: 27.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.007829, allocations: 4 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.007999, allocations: 95.81 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.008047, allocations: 15.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.008073, allocations: 11.94 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.008307, allocations: 135.5 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.008313, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.008315, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.008321, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004622/0.008784, allocations: 428 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.008824, allocations: 12.03 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.008873, allocations: 12.89 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.009041, allocations: 140.4 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.009053, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.009074, allocations: 384 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.009218, allocations: 100 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.00923, allocations: 192 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.009239, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.009247, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.009278, allocations: 19.91 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.00957, allocations: 256.4 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.009745, allocations: 43.05 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.009767, allocations: 11.69 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.009785, allocations: 0 / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.009808, allocations: 37.39 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.009809, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003819/0.01019, allocations: 93.5 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.01023, allocations: 85.11 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.01036, allocations: 193.8 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.01037, allocations: 25.7 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.01042, allocations: 142.9 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.01044, allocations: 23.84 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.01048, allocations: 19.38 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.01056, allocations: 0.4962 MB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.01058, allocations: 4 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.01062, allocations: 49.06 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.01067, allocations: 23.88 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01067, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.01077, allocations: 57.64 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01078, allocations: 15.88 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01079, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.0108, allocations: 4.031 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.01087, allocations: 11.98 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01088, allocations: 7.922 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.466e-05/0.01091, allocations: 4 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01092, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.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 (5): * Single equations (assignments): 5 * 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.905e-05/0.01099, allocations: 156.6 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.01103, allocations: 11.95 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.01118, allocations: 70.02 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01118, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01118, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01119, allocations: 7.938 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.01145, allocations: 298.1 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01145, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.01151, allocations: 8 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01151, allocations: 3.938 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.01152, allocations: 4 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01152, allocations: 0 / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01152, allocations: 0 / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.01165, allocations: 204 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01167, allocations: 19.88 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01169, allocations: 4.062 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.01175, allocations: 4 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.01178, allocations: 7.984 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.01179, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.01185, allocations: 145.3 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01185, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.01216, allocations: 39.92 kB / 386.8 MB, free: 15.66 MB / 314.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 (5): * Single equations (assignments): 5 * 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.001393/0.01355, allocations: 497.3 kB / 387.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01367, allocations: 27.62 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01368, allocations: 4 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.01371, allocations: 19.67 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01401, allocations: 15.98 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.01441, allocations: 156.1 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.01445, allocations: 71.2 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.01451, allocations: 12 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.0146, allocations: 94.11 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.0146, allocations: 0 / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Templates: time 0.004594/0.01919, allocations: 2.038 MB / 389.7 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.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.5051969862543046]