Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001166/0.001166, 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.001494/0.001494, allocations: 165.2 kB / 25.61 MB, free: 8.922 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.114/1.114, allocations: 177 MB / 205.9 MB, free: 4.438 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.1517/0.1517, allocations: 34.87 MB / 297.4 MB, free: 13.31 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.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.705e-05, allocations: 9.047 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004052/0.004089, allocations: 1.745 MB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.006035, allocations: 1.001 MB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.006167, allocations: 0 / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.006518, allocations: 83.64 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.006867, allocations: 115.5 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.007067, allocations: 79.59 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.007228, allocations: 119.6 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.007334, allocations: 11.98 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.007432, allocations: 67.81 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.007528, allocations: 51.88 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.007542, allocations: 7.938 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.00762, allocations: 47.91 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.007667, allocations: 23.92 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.007697, allocations: 23.88 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.007855, allocations: 99.66 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.00786, allocations: 0 / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007861, allocations: 0 / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.007868, allocations: 7.984 kB / 383.6 MB, free: 19.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004217/0.00829, allocations: 463.7 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.008328, allocations: 8.031 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.008367, allocations: 16.83 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.008502, allocations: 156.4 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.008519, allocations: 4.375 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.008536, allocations: 4.375 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.008643, allocations: 58.94 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.008654, allocations: 192 / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.008661, allocations: 384 / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.008668, allocations: 7.938 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.008693, allocations: 15.98 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.008929, allocations: 264.3 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.009029, allocations: 51.16 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.009052, allocations: 15.67 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.009066, allocations: 0 / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.373e-05/0.00916, allocations: 68.98 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.009161, allocations: 0 / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003758/0.009537, allocations: 149.4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.009564, allocations: 51.41 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.009675, allocations: 236.1 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.009688, allocations: 33.69 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.009736, allocations: 158.8 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.009766, allocations: 23.8 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.0098, allocations: 31.36 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.009871, allocations: 0.5001 MB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.009888, allocations: 11.98 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.009916, allocations: 27.36 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.009961, allocations: 55.36 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.009962, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.421e-05/0.01006, allocations: 89.56 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.01007, allocations: 4 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01008, allocations: 384 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01009, allocations: 0 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.01024, allocations: 23.88 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.01025, allocations: 0 / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.01029, allocations: 7.984 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.0103, allocations: 4 kB / 386.1 MB, free: 16.43 MB / 314.7 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 (10): * Single equations (assignments): 10 * 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 7.416e-05/0.01037, allocations: 168.5 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.0104, allocations: 19.84 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.01055, allocations: 103.1 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.01055, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01055, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01055, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.01077, allocations: 369.5 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01077, allocations: 0 / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.0108, allocations: 12 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.0108, allocations: 4.031 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.01081, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01081, allocations: 7.938 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01081, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.01092, allocations: 259.6 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.01094, allocations: 15.94 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01095, allocations: 7.984 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.01099, allocations: 0 / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.01102, allocations: 7.984 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01103, allocations: 8 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.01109, allocations: 177.6 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01109, allocations: 0 / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.01126, allocations: 19.98 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.000874/0.01213, allocations: 432.2 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01223, allocations: 55.58 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01224, allocations: 0 / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.01227, allocations: 35.55 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.0125, allocations: 28.05 kB / 387.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.0128, allocations: 230.6 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.01283, allocations: 71.2 kB / 388.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.01287, allocations: 13.28 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01292, allocations: 90.19 kB / 388.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01292, allocations: 0 / 388.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of Templates: time 0.003446/0.01637, allocations: 2.075 MB / 390.2 MB, free: 12.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.6127763530239463]