Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.0009065/0.0009065, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001178/0.001178, allocations: 164.9 kB / 24.99 MB, free: 8.219 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 0.9451/0.9451, allocations: 177 MB / 205.2 MB, free: 5.531 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.2692/0.2692, allocations: 34.85 MB / 296.6 MB, free: 476 kB / 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.753e-05, allocations: 2.312 kB / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00256/0.002588, allocations: 1.845 MB / 380.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003895, allocations: 1.089 MB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.003979, allocations: 0 / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.00442, allocations: 295.1 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.00482, allocations: 259 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.00501, allocations: 107.6 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.005261, allocations: 271.2 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.00531, allocations: 13.81 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005455, allocations: 151.6 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.005641, allocations: 200.1 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.00566, allocations: 4 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.005748, allocations: 51.91 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.005888, allocations: 140.5 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.005961, allocations: 71.66 kB / 383.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.006237, allocations: 271 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.00624, allocations: 3.938 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00624, allocations: 0 / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.006246, allocations: 0 / 383.6 MB, free: 13.54 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.0007272/0.006973, allocations: 0.7863 MB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.00701, allocations: 8.031 kB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.007089, allocations: 60.59 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.00741, allocations: 328.6 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.007431, allocations: 384 / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.007445, allocations: 4.375 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.007615, allocations: 98.28 kB / 384.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.007626, allocations: 4.188 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007638, allocations: 384 / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.007649, allocations: 3.938 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.007695, allocations: 23.92 kB / 384.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.00797, allocations: 308.2 kB / 385.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.008121, allocations: 102.2 kB / 385.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.008167, allocations: 35.34 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.008181, allocations: 0 / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.008327, allocations: 116.3 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.008328, allocations: 4 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002859/0.008614, allocations: 169.3 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.00866, allocations: 92.92 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.00917, allocations: 0.7018 MB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.009186, allocations: 29.7 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.009326, allocations: 298.8 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.009363, allocations: 27.84 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.009402, allocations: 35.36 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.009553, allocations: 0.5587 MB / 387.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.009586, allocations: 15.98 kB / 387.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.009631, allocations: 58.73 kB / 387.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.009709, allocations: 74.67 kB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009711, allocations: 0 / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001458/0.009857, allocations: 149.9 kB / 387.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009871, allocations: 11.98 kB / 387.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.009877, allocations: 4 kB / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.00989, allocations: 0 / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.009978, allocations: 31.94 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009983, allocations: 0 / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.01004, allocations: 15.92 kB / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.01004, allocations: 4 kB / 387.7 MB, free: 9.125 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 9.552e-05/0.01014, allocations: 170 kB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.01018, allocations: 63.61 kB / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.01038, allocations: 153.9 kB / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01039, allocations: 0 / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.01039, allocations: 7.938 kB / 388.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.0104, allocations: 0 / 388.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.01061, allocations: 316.4 kB / 388.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01062, allocations: 0 / 388.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.01065, allocations: 15.98 kB / 388.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01065, allocations: 0 / 388.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.01066, allocations: 0 / 388.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.01066, allocations: 4 kB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01066, allocations: 0 / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.01084, allocations: 219.6 kB / 388.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.0109, allocations: 67.59 kB / 388.7 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.01093, allocations: 4 kB / 388.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.01097, allocations: 15.98 kB / 388.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.01101, allocations: 11.92 kB / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01103, allocations: 4.125 kB / 388.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.01134, allocations: 474.8 kB / 389.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 4 kB / 389.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.01152, allocations: 43.98 kB / 389.2 MB, free: 7.508 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.0007861/0.01231, allocations: 382.6 kB / 389.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01244, allocations: 71.53 kB / 389.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01244, allocations: 0 / 389.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.01249, allocations: 43.61 kB / 389.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.01277, allocations: 78.98 kB / 389.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.01345, allocations: 0.656 MB / 390.4 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.529e-05/0.01352, allocations: 128.2 kB / 390.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.01359, allocations: 34.97 kB / 390.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.01364, allocations: 36.48 kB / 390.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01364, allocations: 0 / 390.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of Templates: time 0.006143/0.01978, allocations: 4.022 MB / 394.7 MB, free: 2.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.0546667200978845]