Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.00157/0.00157, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001615/0.001615, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.541/1.541, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3885/0.3885, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.346e-05, allocations: 8.141 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004466/0.0045, allocations: 1.591 MB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.006045, allocations: 0.5292 MB / 379.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.006133, allocations: 4 kB / 379.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.006424, allocations: 27.78 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.006869, allocations: 71.62 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.007386, allocations: 119.6 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.007625, allocations: 67.83 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.007737, allocations: 7.984 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.007845, allocations: 27.92 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.00793, allocations: 19.91 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.007955, allocations: 4 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.008096, allocations: 35.86 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.00816, allocations: 11.94 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.008208, allocations: 11.94 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.00849, allocations: 87.7 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.008495, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.008497, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.008505, allocations: 0 / 379.8 MB, free: 272 kB / 346.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.000682/0.009187, allocations: 305.9 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.009229, allocations: 12.03 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.009302, allocations: 8.891 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.009578, allocations: 140.6 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.009598, allocations: 8.375 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.009628, allocations: 384 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.009812, allocations: 54.23 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.009827, allocations: 4.172 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.009838, allocations: 384 / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.009843, allocations: 4.375 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.009984, allocations: 27.86 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.01047, allocations: 228.5 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.01074, allocations: 38.56 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.01082, allocations: 20.94 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.01084, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.01089, allocations: 34.56 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.01089, allocations: 0 / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007631/0.01165, allocations: 161.2 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.01171, allocations: 51.41 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.01209, allocations: 153.4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.01212, allocations: 25.7 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01223, allocations: 96.12 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.01226, allocations: 15.91 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.01231, allocations: 25.64 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.01253, allocations: 314.8 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.01263, allocations: 23.97 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.01272, allocations: 19.98 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.01293, allocations: 52.83 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01293, allocations: 0 / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002895/0.01322, allocations: 97.55 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.01324, allocations: 4 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01325, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.01327, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.01336, allocations: 15.94 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.01337, allocations: 3.984 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.01344, allocations: 12.14 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01344, allocations: 0 / 381.8 MB, free: 14.17 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 0.0001384/0.01358, allocations: 117.8 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.01364, allocations: 23.88 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.014, allocations: 94.12 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.01401, allocations: 4 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01401, allocations: 0 / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01402, allocations: 0 / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.01461, allocations: 298.1 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01462, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.01471, allocations: 19.92 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01471, allocations: 4 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01472, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01473, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01473, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.01509, allocations: 191.3 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.01512, allocations: 7.953 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.01514, allocations: 0 / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01524, allocations: 7.984 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.0153, allocations: 0 / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01531, allocations: 12 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.01546, allocations: 111.2 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01546, allocations: 4 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.01585, allocations: 12 kB / 382.6 MB, free: 13.21 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.002405/0.01825, allocations: 427.3 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.01853, allocations: 55.89 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.01854, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01865, allocations: 31.98 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.01913, allocations: 23.86 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.01976, allocations: 196.9 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.01989, allocations: 79.31 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.46e-05/0.01997, allocations: 19.84 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.02002, allocations: 16.48 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02002, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.005425/0.02544, allocations: 1.172 MB / 384.6 MB, free: 11.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.904149631969631]