Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001086/0.001086, allocations: 85.91 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.001099/0.001099, allocations: 159 kB / 25.61 MB, free: 8.582 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.084/1.084, allocations: 177 MB / 205.9 MB, free: 4.461 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.2374/0.2374, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.38e-05, allocations: 2.969 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002874/0.002908, allocations: 1.772 MB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004386, allocations: 0.9945 MB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.004521, allocations: 3.938 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.004955, allocations: 87.62 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.005349, allocations: 123.4 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.005612, allocations: 79.66 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.005829, allocations: 123.6 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.005969, allocations: 7.984 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.006086, allocations: 71.75 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.006212, allocations: 63.86 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.006232, allocations: 4 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.00636, allocations: 59.86 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.006426, allocations: 31.84 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.006467, allocations: 15.94 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.006683, allocations: 115.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006687, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.006688, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.006697, allocations: 0 / 383.6 MB, free: 19.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005514/0.007248, allocations: 483.6 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.007291, allocations: 8.031 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.007342, allocations: 16.84 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.0075, allocations: 152.4 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.00752, allocations: 4.375 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.007541, allocations: 8.328 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.007666, allocations: 62.92 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.007679, allocations: 192 / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.00769, allocations: 8.375 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.0077, allocations: 3.938 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.007739, allocations: 23.91 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.008073, allocations: 264.4 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.008268, allocations: 51.03 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.008291, allocations: 15.81 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.008307, allocations: 7.938 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.008416, allocations: 76.91 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.008418, allocations: 0 / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005251/0.008943, allocations: 205.2 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.008974, allocations: 55.41 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.009087, allocations: 236.1 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.009105, allocations: 29.7 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.009163, allocations: 158.8 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.009201, allocations: 43.67 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.009238, allocations: 27.38 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.00931, allocations: 0.4962 MB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.009333, allocations: 15.98 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.00937, allocations: 42.03 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.479e-05/0.009425, allocations: 55.36 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009427, allocations: 4 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00013/0.009557, allocations: 113.4 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.009573, allocations: 4 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.009579, allocations: 4 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.009592, allocations: 0 / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.009662, allocations: 19.98 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.009667, allocations: 0 / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.009701, allocations: 4 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.00971, allocations: 7.984 kB / 386.3 MB, free: 16.21 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 (13): * Single equations (assignments): 13 * 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.166e-05/0.009782, allocations: 168.5 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.009805, allocations: 23.84 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.009974, allocations: 115.8 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009977, allocations: 4 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.00998, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.393e-06/0.009986, allocations: 3.984 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.01034, allocations: 409.1 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.01034, allocations: 0 / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.01039, allocations: 19.94 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01039, allocations: 4.062 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.0104, allocations: 7.984 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.0104, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01041, allocations: 3.984 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.01057, allocations: 283.1 kB / 387.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.01059, allocations: 15.84 kB / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.01061, allocations: 4 kB / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.01067, allocations: 7.984 kB / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.01071, allocations: 11.92 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.01073, allocations: 8 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.185e-05/0.0108, allocations: 173.6 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0108, allocations: 0 / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01104, allocations: 39.86 kB / 387.6 MB, free: 14.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001153/0.01219, allocations: 477.4 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.01233, allocations: 59.59 kB / 388.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01233, allocations: 0 / 388.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.01237, allocations: 43.58 kB / 388.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01262, allocations: 32.11 kB / 388.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.01301, allocations: 258.4 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.01305, allocations: 79.12 kB / 388.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.791e-05/0.0131, allocations: 24.81 kB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.01317, allocations: 90.19 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01317, allocations: 0 / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Templates: time 0.005129/0.0183, allocations: 2.346 MB / 391 MB, free: 11.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.6253371336497366]