Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009493/0.0009493, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0009313/0.0009313, allocations: 164.3 kB / 24.82 MB, free: 9.324 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.9525/0.9525, allocations: 177 MB / 205.1 MB, free: 5.438 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.2453/0.2453, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.898e-05, allocations: 3.297 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002105/0.002124, allocations: 1.834 MB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003378, allocations: 1.083 MB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.003467, allocations: 4 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.003872, allocations: 303.1 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.004247, allocations: 255 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.004446, allocations: 107.6 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.004677, allocations: 267.2 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.004717, allocations: 13.8 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.00486, allocations: 151.6 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.005026, allocations: 196.1 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.005045, allocations: 8 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.005124, allocations: 51.92 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.67e-05/0.00522, allocations: 144.5 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.005283, allocations: 67.67 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.005524, allocations: 282.9 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005526, allocations: 0 / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005526, allocations: 0 / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00553, allocations: 0 / 384 MB, free: 12.98 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.0005921/0.006122, allocations: 0.7784 MB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.006154, allocations: 12.02 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.006206, allocations: 52.61 kB / 384.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.006453, allocations: 316.7 kB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006468, allocations: 4.375 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.006476, allocations: 4.312 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.006596, allocations: 94.28 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.006603, allocations: 192 / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.006613, allocations: 8.359 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006619, allocations: 3.938 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.006647, allocations: 11.98 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.006835, allocations: 220.7 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.006947, allocations: 94.2 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.006978, allocations: 35.36 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.006992, allocations: 0 / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.0071, allocations: 112.2 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.02e-07/0.0071, allocations: 0 / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002119/0.007312, allocations: 161.3 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002958/0.007608, allocations: 77.11 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.008015, allocations: 0.6897 MB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.008029, allocations: 29.7 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.008169, allocations: 310.7 kB / 387 MB, free: 9.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.008201, allocations: 23.84 kB / 387 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.008236, allocations: 35.34 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.008391, allocations: 0.5664 MB / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.008413, allocations: 15.92 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.008449, allocations: 46.73 kB / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.008513, allocations: 79.16 kB / 387.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008515, allocations: 0 / 387.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000125/0.00864, allocations: 145.2 kB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.008651, allocations: 11.98 kB / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.008655, allocations: 0 / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.008667, allocations: 4 kB / 387.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.008731, allocations: 19.94 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.008735, allocations: 3.938 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.008785, allocations: 11.92 kB / 388 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.008793, allocations: 8 kB / 388 MB, free: 8.746 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.286e-05/0.008875, allocations: 170.1 kB / 388.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.008912, allocations: 55.62 kB / 388.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.009075, allocations: 157.8 kB / 388.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.009078, allocations: 4 kB / 388.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.00908, allocations: 0 / 388.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.009084, allocations: 3.938 kB / 388.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.009242, allocations: 225.1 kB / 388.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009243, allocations: 0 / 388.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.009269, allocations: 12 kB / 388.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.00927, allocations: 4 kB / 388.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.009277, allocations: 4 kB / 388.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.009278, allocations: 3.938 kB / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009279, allocations: 0 / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.009432, allocations: 215.8 kB / 388.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.009479, allocations: 63.58 kB / 388.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.009503, allocations: 4 kB / 388.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.009541, allocations: 7.984 kB / 388.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.009571, allocations: 11.98 kB / 388.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.009583, allocations: 4 kB / 388.9 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.009817, allocations: 430.7 kB / 389.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009817, allocations: 4 kB / 389.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000174/0.009991, allocations: 47.92 kB / 389.4 MB, free: 7.281 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.0007484/0.01074, allocations: 392.7 kB / 389.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01084, allocations: 63.53 kB / 389.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01084, allocations: 0 / 389.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.01088, allocations: 35.61 kB / 389.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01113, allocations: 71.88 kB / 389.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.01195, allocations: 0.6443 MB / 390.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.01203, allocations: 128.2 kB / 390.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.01214, allocations: 34.97 kB / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01226, allocations: 118.2 kB / 390.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01226, allocations: 0 / 390.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of Templates: time 0.006691/0.01895, allocations: 4.296 MB / 395.1 MB, free: 1.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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: 2.9385499856434762]