Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009627/0.0009627, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009369/0.0009369, allocations: 165 kB / 24.99 MB, free: 8.801 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.9141/0.9141, allocations: 177 MB / 205.2 MB, free: 5.582 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.285/0.285, allocations: 34.87 MB / 296.6 MB, free: 0.5742 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.841e-05, allocations: 8.5 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002148/0.002177, allocations: 1.622 MB / 380.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.002847, allocations: 0.5369 MB / 380.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.002906, allocations: 0 / 380.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.0031, allocations: 27.8 kB / 381 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.003347, allocations: 83.55 kB / 381 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.003549, allocations: 87.69 kB / 381.1 MB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.003695, allocations: 71.72 kB / 381.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.003789, allocations: 15.84 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.003839, allocations: 23.92 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.003888, allocations: 19.97 kB / 381.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003903, allocations: 7.938 kB / 381.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.003968, allocations: 35.92 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.00401, allocations: 8 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.004039, allocations: 15.91 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.004183, allocations: 71.69 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004185, allocations: 4 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004186, allocations: 0 / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004191, allocations: 0 / 381.4 MB, free: 15.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003806/0.004571, allocations: 412.1 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004606, allocations: 12.03 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.004646, allocations: 16.89 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004778, allocations: 136.4 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.004787, allocations: 8.375 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.004806, allocations: 384 / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.004917, allocations: 54.95 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.004926, allocations: 4.125 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004934, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.00494, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.004971, allocations: 15.92 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.005254, allocations: 267.8 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.005421, allocations: 54.98 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.005442, allocations: 7.688 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.00546, allocations: 0 / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.005479, allocations: 37.39 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.00548, allocations: 0 / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003444/0.005824, allocations: 109.4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.005854, allocations: 51.41 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.005968, allocations: 205.9 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.005977, allocations: 25.7 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.00603, allocations: 150.9 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.006049, allocations: 11.91 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.006077, allocations: 23.38 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.006183, allocations: 0.4884 MB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.006202, allocations: 4 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.006216, allocations: 11.92 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.006251, allocations: 27.69 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006252, allocations: 0 / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.408e-05/0.006326, allocations: 69.47 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006339, allocations: 4 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.006343, allocations: 0 / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.006356, allocations: 8 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.006401, allocations: 8.25 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006407, allocations: 3.984 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.006424, allocations: 4 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.006428, allocations: 4 kB / 383.6 MB, free: 13.36 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 (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.424e-05/0.006492, allocations: 156.6 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.006513, allocations: 15.89 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.006626, allocations: 66.36 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006628, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006632, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.006637, allocations: 11.98 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.00686, allocations: 325.3 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006861, allocations: 0 / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.006895, allocations: 15.94 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006898, allocations: 0 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.006906, allocations: 0 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006907, allocations: 0 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006908, allocations: 0 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.007008, allocations: 211.8 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.007015, allocations: 7.953 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.007027, allocations: 4 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.00706, allocations: 4 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.00709, allocations: 3.984 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.007095, allocations: 4 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.007152, allocations: 152.1 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007152, allocations: 0 / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.007309, allocations: 19.92 kB / 384.6 MB, free: 12.3 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 (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.000789/0.008098, allocations: 378 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.008192, allocations: 31.67 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.008194, allocations: 0 / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.008216, allocations: 19.67 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.00843, allocations: 34.67 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.00875, allocations: 182.5 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.73e-05/0.008788, allocations: 63.34 kB / 385.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.008815, allocations: 7.984 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.008842, allocations: 16.48 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.008843, allocations: 4 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of Templates: time 0.002943/0.01179, allocations: 1.157 MB / 386.4 MB, free: 10.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.1203558649867773]