Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001379/0.001379, 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.001464/0.001464, allocations: 158.9 kB / 25.61 MB, free: 8.887 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.042/1.042, allocations: 177 MB / 205.9 MB, free: 4.426 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.1436/0.1436, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.271e-05, allocations: 6.156 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.001626/0.001639, allocations: 1.752 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002903, allocations: 1.716 MB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.002969, allocations: 7.938 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.003191, allocations: 35.77 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.003464, allocations: 111.4 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.003616, allocations: 79.59 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.003732, allocations: 111.6 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.838e-05/0.003801, allocations: 11.98 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.003866, allocations: 59.77 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.003949, allocations: 31.89 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.003962, allocations: 11.94 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.004076, allocations: 95.88 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.004114, allocations: 23.92 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.004139, allocations: 19.92 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004303, allocations: 167.5 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004304, allocations: 0 / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004305, allocations: 0 / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.004308, allocations: 3.938 kB / 384.3 MB, free: 18.41 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.0002978/0.004605, allocations: 451.8 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.004634, allocations: 8.031 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.00467, allocations: 16.89 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.004777, allocations: 145 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.004789, allocations: 8.375 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.004804, allocations: 4.375 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.004903, allocations: 111.9 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004911, allocations: 3.938 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.004918, allocations: 4 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.004921, allocations: 0 / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.004944, allocations: 11.98 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.005111, allocations: 256.4 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.619e-05/0.005177, allocations: 51.11 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.005195, allocations: 19.67 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.005204, allocations: 7.938 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.005264, allocations: 68.98 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005265, allocations: 0 / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002425/0.005508, allocations: 141.4 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.005527, allocations: 77.11 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.005599, allocations: 210.9 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.005607, allocations: 25.7 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.005636, allocations: 150.8 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.005655, allocations: 27.84 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.00568, allocations: 27.36 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.005719, allocations: 0.4923 MB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.005733, allocations: 15.92 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.005758, allocations: 64.75 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.005798, allocations: 39.36 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.005799, allocations: 0 / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.491e-05/0.005874, allocations: 93.88 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.005883, allocations: 6.969 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.005886, allocations: 4.062 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.005895, allocations: 0 / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.005945, allocations: 23.98 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-06/0.005948, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.005976, allocations: 11.83 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005981, allocations: 8 kB / 386.9 MB, free: 15.62 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 4.235e-05/0.006024, allocations: 156.6 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.00604, allocations: 23.86 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.716e-05/0.006137, allocations: 98.39 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006139, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.00614, allocations: 4 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006143, allocations: 3.984 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.006318, allocations: 353.6 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006319, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.006339, allocations: 15.98 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006341, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006346, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006347, allocations: 4 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006348, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.647e-05/0.006444, allocations: 267.5 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.006454, allocations: 11.98 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.006469, allocations: 3.984 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.006507, allocations: 4 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.006527, allocations: 11.98 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.006535, allocations: 4 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.006574, allocations: 155.2 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006574, allocations: 0 / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.006766, allocations: 51.86 kB / 388 MB, free: 14.41 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.0009604/0.007726, allocations: 0.5208 MB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.007814, allocations: 47.61 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007815, allocations: 0 / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.007846, allocations: 31.66 kB / 388.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.008056, allocations: 45.45 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.008284, allocations: 207.6 kB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.267e-05/0.008307, allocations: 63.34 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.008342, allocations: 21.03 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.008403, allocations: 102.2 kB / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008404, allocations: 0 / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of Templates: time 0.003535/0.01194, allocations: 2.813 MB / 391.8 MB, free: 10.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.524473449680954]