Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001344/0.001344, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.0012/0.0012, allocations: 162.8 kB / 24.99 MB, free: 9.32 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 1.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.16 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.2786/0.2786, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.078e-05, allocations: 2.312 kB / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002071/0.002092, allocations: 1.616 MB / 380.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.002854, allocations: 0.533 MB / 380.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.002925, allocations: 0 / 380.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.00315, allocations: 35.77 kB / 381 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.003402, allocations: 83.56 kB / 381 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.003625, allocations: 91.62 kB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.003757, allocations: 71.77 kB / 381.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.003855, allocations: 15.84 kB / 381.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.003908, allocations: 27.92 kB / 381.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.003954, allocations: 7.984 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.003969, allocations: 7.938 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.004035, allocations: 39.91 kB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.004077, allocations: 19.88 kB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.004104, allocations: 11.98 kB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.004241, allocations: 75.67 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004243, allocations: 0 / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004243, allocations: 0 / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004247, allocations: 0 / 381.4 MB, free: 15.7 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.0003725/0.00462, allocations: 420.1 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.004655, allocations: 8.031 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.004698, allocations: 12.89 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.004838, allocations: 142.3 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.004846, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.004864, allocations: 4.375 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.004973, allocations: 58.95 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004982, allocations: 192 / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004992, allocations: 4.125 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.005001, allocations: 7.984 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.005034, allocations: 4 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.005305, allocations: 279.8 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.005455, allocations: 46.98 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.005475, allocations: 11.69 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.005494, allocations: 3.938 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.005514, allocations: 41.39 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.005515, allocations: 0 / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003298/0.005845, allocations: 97.55 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.005874, allocations: 55.41 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.005988, allocations: 212.7 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.005998, allocations: 29.7 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.00605, allocations: 150.8 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.00607, allocations: 19.83 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.006096, allocations: 19.38 kB / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006203, allocations: 0.4923 MB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.00622, allocations: 12 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.006235, allocations: 7.938 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.006271, allocations: 27.67 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.006272, allocations: 0 / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.383e-05/0.006346, allocations: 61.59 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.006358, allocations: 4 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.006361, allocations: 0 / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006373, allocations: 3.984 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.006414, allocations: 12 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.00642, allocations: 0 / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.006436, allocations: 7.938 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.006441, allocations: 4 kB / 383.6 MB, free: 13.27 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.391e-05/0.006505, allocations: 156.6 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.006526, allocations: 19.84 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.006632, allocations: 66.41 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006635, allocations: 3.984 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006638, allocations: 0 / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006642, allocations: 4 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.006881, allocations: 321.4 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006882, allocations: 288 / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.006914, allocations: 19.98 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006916, allocations: 0 / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.006923, allocations: 0 / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006924, allocations: 0 / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006924, allocations: 0 / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.007034, allocations: 219.8 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.00704, allocations: 3.953 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.007052, allocations: 7.984 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.007082, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.00711, allocations: 4 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.007112, allocations: 0 / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.007179, allocations: 168.1 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007179, allocations: 0 / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.007339, allocations: 15.94 kB / 384.6 MB, free: 12.2 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.000833/0.008172, allocations: 376.2 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.008275, allocations: 27.67 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008277, allocations: 0 / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.008304, allocations: 27.73 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.008536, allocations: 15.94 kB / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.008911, allocations: 190.4 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.008957, allocations: 63.34 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.008989, allocations: 15.97 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.009019, allocations: 16.5 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.00902, allocations: 4 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Templates: time 0.002819/0.01184, allocations: 1.153 MB / 386.5 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.1711008369456977]