Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001056/0.001056, 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.001253/0.001253, 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.989/0.989, allocations: 177 MB / 204.8 MB, free: 5.602 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.2727/0.2727, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.CombiTable1Ds.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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.831e-05, allocations: 8.219 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003334/0.003362, allocations: 1.646 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004465, allocations: 0.5408 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.004528, allocations: 4 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.004869, allocations: 103.6 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.005232, allocations: 123.5 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.005519, allocations: 95.62 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.005715, allocations: 91.75 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.005811, allocations: 23.89 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.0059, allocations: 43.89 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.006022, allocations: 67.86 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.006041, allocations: 4 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.006138, allocations: 47.91 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.006189, allocations: 23.92 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.006222, allocations: 19.94 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.006415, allocations: 95.59 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006417, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006418, allocations: 3.938 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.006422, allocations: 0 / 381.7 MB, free: 15.12 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.0004884/0.006911, allocations: 459.8 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006949, allocations: 8.031 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.007002, allocations: 16.84 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.007178, allocations: 149.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.007191, allocations: 8.312 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.007214, allocations: 8.375 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.007356, allocations: 58.94 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.00737, allocations: 4.188 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.007379, allocations: 4.312 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.007396, allocations: 4.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.007443, allocations: 15.92 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.007815, allocations: 295.7 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.007904, allocations: 46.98 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.007932, allocations: 15.69 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.007949, allocations: 0 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.007976, allocations: 41.33 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007977, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006233/0.008601, allocations: 173.3 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.008629, allocations: 51.41 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.008788, allocations: 263.1 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.008801, allocations: 33.7 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.008868, allocations: 158.9 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.008895, allocations: 27.81 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.00893, allocations: 35.36 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.009067, allocations: 0.5001 MB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.009085, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.009105, allocations: 15.92 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.009151, allocations: 31.69 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.009152, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.652e-05/0.009239, allocations: 81.53 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.009254, allocations: 4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.009258, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.009269, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.009345, allocations: 23.92 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.00935, allocations: 4.312 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.009369, allocations: 4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.009375, allocations: 7.938 kB / 384.2 MB, free: 12.39 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.719e-05/0.009442, allocations: 156.6 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.009468, allocations: 23.84 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.009589, allocations: 91.11 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009591, allocations: 432 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.009595, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009598, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.009884, allocations: 388.9 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009885, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.009925, allocations: 23.92 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009929, allocations: 3.984 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.009936, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.009939, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.009941, allocations: 4 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.01007, allocations: 243.4 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.01009, allocations: 11.91 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.0101, allocations: 3.938 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.01014, allocations: 8.031 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.01017, allocations: 11.98 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.01017, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.01026, allocations: 187.1 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01026, allocations: 0 / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.01043, allocations: 15.94 kB / 385.4 MB, free: 11.16 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.0009613/0.01139, allocations: 432.8 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.0115, allocations: 47.59 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0115, allocations: 0 / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.01154, allocations: 35.67 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.01175, allocations: 15.98 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.01214, allocations: 253.4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.01219, allocations: 71.33 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.01223, allocations: 8.719 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.01226, allocations: 24.56 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01226, allocations: 0 / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.004479/0.01674, allocations: 1.489 MB / 387.7 MB, free: 8.879 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 3.062719807960093]