Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.002083/0.002083, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002189/0.002189, allocations: 159.4 kB / 23.95 MB, free: 4.152 MB / 14.72 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.512/1.512, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 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.2224/0.2224, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.244e-05, allocations: 6.219 kB / 442.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003266/0.003299, allocations: 1.668 MB / 444.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.00524, allocations: 0.9581 MB / 445.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.005333, allocations: 0 / 445.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.005651, allocations: 59.61 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.006063, allocations: 99.53 kB / 445.5 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.006295, allocations: 83.59 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.006511, allocations: 107.6 kB / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.006552, allocations: 4.172 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.006684, allocations: 59.81 kB / 445.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.0068, allocations: 35.84 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.006822, allocations: 4 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.006918, allocations: 35.97 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.006974, allocations: 19.88 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.007024, allocations: 23.92 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.007248, allocations: 99.64 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.007251, allocations: 0 / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007253, allocations: 0 / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.007259, allocations: 3.984 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000594/0.007853, allocations: 329.7 kB / 446.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.007894, allocations: 8.031 kB / 446.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.00795, allocations: 8.891 kB / 446.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.008297, allocations: 157.4 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.008317, allocations: 4.359 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.008333, allocations: 8.375 kB / 446.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.008509, allocations: 50.23 kB / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00852, allocations: 192 / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.008532, allocations: 384 / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.00854, allocations: 3.938 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.008622, allocations: 19.98 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.00882, allocations: 121.3 kB / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.009016, allocations: 58.55 kB / 446.7 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.009083, allocations: 24.84 kB / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.009101, allocations: 0 / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.009268, allocations: 63.39 kB / 446.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.00927, allocations: 0 / 446.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003444/0.009614, allocations: 105.6 kB / 446.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.009679, allocations: 59.33 kB / 447 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.0099, allocations: 188 kB / 447.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.009925, allocations: 25.7 kB / 447.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.009994, allocations: 100.1 kB / 447.3 MB, free: 492 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.01003, allocations: 15.91 kB / 447.3 MB, free: 476 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.01008, allocations: 25.7 kB / 447.3 MB, free: 444 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.01024, allocations: 322.8 kB / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.0103, allocations: 12 kB / 447.7 MB, free: 100 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.01037, allocations: 37.69 kB / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.01048, allocations: 41.7 kB / 447.7 MB, free: 8 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01048, allocations: 3.938 kB / 447.7 MB, free: 4 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.2054/0.2159, allocations: 81.86 kB / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2159, allocations: 5.094 kB / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2159, allocations: 3.359 kB / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.216, allocations: 0 / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2161, allocations: 13.36 kB / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2161, allocations: 2.266 kB / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.2161, allocations: 9.922 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2161, allocations: 5.625 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000107/0.2163, allocations: 124.7 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.2163, allocations: 8.516 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.2165, allocations: 103.1 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2165, allocations: 1.094 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2165, allocations: 0.5156 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2165, allocations: 1.75 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2167, allocations: 135.1 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2167, allocations: 5.75 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.2167, allocations: 5.594 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2167, allocations: 1.125 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2167, allocations: 1.703 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2167, allocations: 0 / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2167, allocations: 1.75 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.2169, allocations: 121.5 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.2169, allocations: 10.64 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.217, allocations: 1.578 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.217, allocations: 8.844 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.217, allocations: 10.59 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2171, allocations: 3.188 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.2172, allocations: 139.9 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2172, allocations: 0 / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.2174, allocations: 18.88 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001606/0.219, allocations: 420 kB / 449 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2192, allocations: 45.42 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2192, allocations: 0 / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.2193, allocations: 19.78 kB / 449 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2195, allocations: 31.66 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.22, allocations: 199.9 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.835e-05/0.22, allocations: 95.33 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.2201, allocations: 10.38 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.2201, allocations: 15.77 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2201, allocations: 4.094 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of Templates: time 0.005317/0.2255, allocations: 1.625 MB / 451 MB, free: 18.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.97771255299449]