Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001455/0.001455, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001506/0.001506, allocations: 161.2 kB / 25.61 MB, free: 8.887 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.9375/0.9375, allocations: 177 MB / 205.9 MB, free: 4.434 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.1476/0.1476, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.225e-05, allocations: 3.438 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001821/0.001843, allocations: 1.631 MB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005531/0.002396, allocations: 0.5252 MB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002446, allocations: 0 / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.00263, allocations: 23.84 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.002832, allocations: 75.56 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.002997, allocations: 95.64 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003112, allocations: 79.69 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.00319, allocations: 4 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.003238, allocations: 31.91 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.003284, allocations: 15.92 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.003295, allocations: 4 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.003345, allocations: 27.98 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.003384, allocations: 15.92 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003401, allocations: 8 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003504, allocations: 75.67 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003506, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003507, allocations: 4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.00351, allocations: 0 / 382.6 MB, free: 20.12 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.0002513/0.003762, allocations: 416.1 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003797, allocations: 8.031 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.003823, allocations: 8.891 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.003909, allocations: 134.1 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.003916, allocations: 384 / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.00393, allocations: 4.359 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.547e-05/0.003996, allocations: 62.88 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004003, allocations: 4.172 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.004008, allocations: 4.375 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.004012, allocations: 4.375 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.004028, allocations: 7.938 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.004183, allocations: 240.4 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.004289, allocations: 47.05 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.004301, allocations: 11.69 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.004318, allocations: 0 / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.004333, allocations: 41.47 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004334, allocations: 0 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002204/0.004554, allocations: 97.39 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.004575, allocations: 51.41 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.004635, allocations: 199.6 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.00464, allocations: 25.7 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.004666, allocations: 138.9 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.004683, allocations: 27.78 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.004706, allocations: 23.36 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.639e-05/0.004742, allocations: 496.1 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.004752, allocations: 7.984 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.004761, allocations: 7.938 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.004784, allocations: 23.62 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.004784, allocations: 4 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.77e-05/0.004832, allocations: 61.83 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.004841, allocations: 7.938 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.004844, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.004854, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.355e-05/0.004887, allocations: 11.98 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00489, allocations: 0 / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.004905, allocations: 4 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.00491, allocations: 7.984 kB / 384.8 MB, free: 17.77 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 3.803e-05/0.004949, allocations: 156.5 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.004965, allocations: 11.95 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.666e-05/0.005042, allocations: 70.08 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005044, allocations: 0 / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005045, allocations: 0 / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.005049, allocations: 0 / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.005205, allocations: 298 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005206, allocations: 0 / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.00523, allocations: 11.98 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.005232, allocations: 3.938 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.005236, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005237, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005237, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.232e-05/0.0053, allocations: 203.9 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.005306, allocations: 7.891 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.005315, allocations: 256 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.005344, allocations: 7.984 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.005364, allocations: 7.938 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.005367, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.005396, allocations: 150.9 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005396, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.005539, allocations: 12 kB / 385.7 MB, free: 16.77 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.000719/0.006258, allocations: 389.4 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.173e-05/0.00632, allocations: 27.67 kB / 386.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006321, allocations: 4 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.006336, allocations: 19.62 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.006512, allocations: 19.92 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.006725, allocations: 172.4 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.061e-05/0.006746, allocations: 63.2 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.006769, allocations: 15.97 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.006803, allocations: 74.2 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006804, allocations: 4 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of Templates: time 0.002302/0.009105, allocations: 1.279 MB / 387.8 MB, free: 14.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.23403551382944]