Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001043/0.001043, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001043/0.001043, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9782/0.9782, allocations: 177 MB / 204.8 MB, free: 5.566 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.2938/0.2938, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 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.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.12e-05, allocations: 3.016 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002353/0.002374, allocations: 1.85 MB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003877, allocations: 1.087 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.003982, allocations: 4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.004526, allocations: 307.1 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.005181, allocations: 263 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.005373, allocations: 107.6 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.005637, allocations: 275.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.005684, allocations: 9.812 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.005841, allocations: 151.6 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.006046, allocations: 207.6 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.006068, allocations: 4 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.006167, allocations: 47.92 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.006293, allocations: 147.5 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.006367, allocations: 71.66 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.006657, allocations: 282.9 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.006661, allocations: 4 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006662, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.006667, allocations: 4 kB / 383.6 MB, free: 13.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007551/0.007422, allocations: 0.794 MB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.007463, allocations: 8.031 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.007542, allocations: 56.56 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.007923, allocations: 332.7 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.007951, allocations: 4.312 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.00797, allocations: 8.375 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.008179, allocations: 94.28 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.008191, allocations: 192 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008206, allocations: 8.375 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.008218, allocations: 3.938 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.008269, allocations: 19.98 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.008585, allocations: 316.2 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.008741, allocations: 98.2 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.008784, allocations: 27.38 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.008804, allocations: 3.984 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.008952, allocations: 112.3 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.008954, allocations: 3.984 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003274/0.009282, allocations: 181.2 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.009324, allocations: 81.05 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.009842, allocations: 0.7136 MB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.009858, allocations: 29.69 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.01, allocations: 302.8 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.01005, allocations: 39.72 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.01009, allocations: 35.36 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.01026, allocations: 0.5665 MB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.0103, allocations: 15.92 kB / 387.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.01034, allocations: 54.73 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.01042, allocations: 70.69 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.01043, allocations: 7.984 kB / 387.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001563/0.01058, allocations: 145.8 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.0106, allocations: 4 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.0106, allocations: 4.188 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.01063, allocations: 8 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.01072, allocations: 31.8 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01073, allocations: 4 kB / 387.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.01078, allocations: 15.94 kB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.01079, allocations: 4 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.822e-05/0.01088, allocations: 162.1 kB / 387.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01092, allocations: 55.67 kB / 388 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.01112, allocations: 165.9 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01112, allocations: 0 / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01113, allocations: 7.938 kB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01113, allocations: 0 / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.01135, allocations: 320.4 kB / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01136, allocations: 4 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.01138, allocations: 8 kB / 388.5 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01138, allocations: 3.938 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01139, allocations: 8 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.0114, allocations: 0 / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0114, allocations: 0 / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01157, allocations: 215.6 kB / 388.7 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.01163, allocations: 67.66 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01165, allocations: 4 kB / 388.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.01169, allocations: 7.984 kB / 388.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.01174, allocations: 15.92 kB / 388.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.01175, allocations: 4.125 kB / 388.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000331/0.01208, allocations: 490.7 kB / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0 / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004951/0.01258, allocations: 40 kB / 389.3 MB, free: 7.137 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008788/0.01346, allocations: 403.9 kB / 389.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01361, allocations: 67.59 kB / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01361, allocations: 0 / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.01366, allocations: 43.59 kB / 389.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01395, allocations: 75.8 kB / 389.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.01465, allocations: 0.6714 MB / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.969e-05/0.01473, allocations: 132.2 kB / 390.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.0148, allocations: 34.97 kB / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.01486, allocations: 32.48 kB / 390.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01486, allocations: 0 / 390.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of Templates: time 0.006803/0.02166, allocations: 4.067 MB / 394.8 MB, free: 1.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.3310768827795982]