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.001952/0.001952, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002278/0.002278, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.505/1.505, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3932/0.3932, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.117e-05/4.366e-05, allocations: 2.312 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.005901/0.005945, allocations: 1.799 MB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.009054, allocations: 1.06 MB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.009175, allocations: 0 / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000782/0.009957, allocations: 295.2 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000779/0.01074, allocations: 263 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.01113, allocations: 111.6 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.01165, allocations: 263.2 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.01171, allocations: 9.797 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.01203, allocations: 147.7 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.01243, allocations: 200.1 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.01247, allocations: 8 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.01264, allocations: 55.91 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.01288, allocations: 136.5 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01304, allocations: 75.64 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.01371, allocations: 346.8 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01372, allocations: 0 / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01372, allocations: 0 / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01373, allocations: 0 / 382 MB, free: 14.08 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.001444/0.01517, allocations: 0.6747 MB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.01522, allocations: 8.031 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.01537, allocations: 56.61 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.01627, allocations: 389.8 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.01629, allocations: 384 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.01631, allocations: 4.375 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.0166, allocations: 83.92 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.01662, allocations: 8.125 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.01664, allocations: 4.359 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01665, allocations: 7.938 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.01683, allocations: 31.98 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.01742, allocations: 302.1 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.01786, allocations: 109.2 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.01801, allocations: 37.7 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.01804, allocations: 7.984 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.01838, allocations: 113 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.01838, allocations: 0 / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000803/0.01919, allocations: 217.2 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.01928, allocations: 81.05 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.02127, allocations: 1.042 MB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.0213, allocations: 25.7 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.02161, allocations: 232.1 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.02168, allocations: 31.84 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.02175, allocations: 21.72 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004392/0.02219, allocations: 370.8 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.02233, allocations: 35.91 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.0225, allocations: 55.42 kB / 385.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.0228, allocations: 95.34 kB / 386 MB, free: 9.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.02281, allocations: 4 kB / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005714/0.02338, allocations: 181.7 kB / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.0234, allocations: 8 kB / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02341, allocations: 128 / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.02343, allocations: 0 / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.02361, allocations: 31.98 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.02362, allocations: 4 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.02379, allocations: 11.94 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.0238, allocations: 4 kB / 386.2 MB, free: 9.605 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 0.0003747/0.02418, allocations: 227.2 kB / 386.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.0243, allocations: 55.62 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.02495, allocations: 201.8 kB / 386.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.02496, allocations: 4 kB / 386.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.02497, allocations: 3.938 kB / 386.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.02498, allocations: 7.984 kB / 386.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.02545, allocations: 261.2 kB / 387 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02546, allocations: 0 / 387 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.02554, allocations: 15.98 kB / 387 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.02554, allocations: 0 / 387 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.02556, allocations: 4 kB / 387 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.02557, allocations: 4 kB / 387 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02557, allocations: 0 / 387 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.0262, allocations: 233.4 kB / 387.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.02638, allocations: 67.59 kB / 387.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.02645, allocations: 8 kB / 387.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.02659, allocations: 4 kB / 387.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.02666, allocations: 15.91 kB / 387.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.02669, allocations: 8 kB / 387.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001463/0.02816, allocations: 0.7643 MB / 388.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02816, allocations: 0 / 388.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000486/0.02864, allocations: 47.98 kB / 388.1 MB, free: 7.633 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.002568/0.03121, allocations: 440.7 kB / 388.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.03149, allocations: 95.83 kB / 388.7 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0315, allocations: 0 / 388.7 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.03162, allocations: 39.92 kB / 388.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.03208, allocations: 74.62 kB / 388.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.03344, allocations: 0.8897 MB / 389.7 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.03372, allocations: 245.7 kB / 389.9 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.03384, allocations: 58.95 kB / 390 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.03391, allocations: 28.48 kB / 390 MB, free: 5.871 MB / 362.7 MB Notification: Performance of SimCode: time 5.1e-07/0.03392, allocations: 0 / 390 MB, free: 5.871 MB / 362.7 MB Notification: Performance of Templates: time 0.009286/0.0432, allocations: 4.006 MB / 394 MB, free: 1.898 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.972018382977694]