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.002031/0.002031, allocations: 96.25 kB / 20.96 MB, free: 3.461 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.002891/0.002891, allocations: 156.9 kB / 24.27 MB, free: 164 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.534/1.534, allocations: 177 MB / 204.4 MB, free: 5.641 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.3695/0.3695, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.277e-05, allocations: 7.234 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003581/0.003614, allocations: 1.792 MB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.005839, allocations: 1.052 MB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.005952, allocations: 3.938 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.006569, allocations: 307.1 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.007201, allocations: 271 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.007516, allocations: 103.6 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.007928, allocations: 267.2 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.007979, allocations: 9.812 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.008262, allocations: 155.6 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.008575, allocations: 207.6 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.008611, allocations: 8 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.00874, allocations: 47.91 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.008925, allocations: 143.5 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.009048, allocations: 71.66 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.009561, allocations: 362.7 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.009565, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009566, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.009574, allocations: 0 / 382 MB, free: 14.05 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.001368/0.01094, allocations: 0.6669 MB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01098, allocations: 16.03 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.01113, allocations: 60.56 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.01189, allocations: 393.7 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.01191, allocations: 4.375 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.01193, allocations: 4.359 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.01219, allocations: 83.94 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.0122, allocations: 192 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.01221, allocations: 4.359 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01222, allocations: 7.938 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01236, allocations: 31.92 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.01284, allocations: 322 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.01316, allocations: 101.2 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.01328, allocations: 45.62 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.0133, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.01357, allocations: 105.1 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.01357, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006311/0.0142, allocations: 221.2 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.01428, allocations: 85.03 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.0157, allocations: 1.058 MB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.01573, allocations: 29.7 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.01597, allocations: 240 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.01602, allocations: 27.84 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.01608, allocations: 29.7 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.01632, allocations: 370.8 kB / 385.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01643, allocations: 27.98 kB / 385.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.01655, allocations: 66.91 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.01677, allocations: 91.36 kB / 386.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01677, allocations: 0 / 386.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003983/0.01717, allocations: 181.8 kB / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01719, allocations: 4 kB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01719, allocations: 0 / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.01722, allocations: 8.062 kB / 386.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01736, allocations: 31.92 kB / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.01737, allocations: 4 kB / 386.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.01749, allocations: 19.88 kB / 386.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.0175, allocations: 4 kB / 386.3 MB, free: 9.527 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.0002659/0.01777, allocations: 223.2 kB / 386.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.01786, allocations: 51.67 kB / 386.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.01832, allocations: 205.9 kB / 386.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01832, allocations: 0 / 386.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01833, allocations: 7.938 kB / 386.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01833, allocations: 3.984 kB / 386.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.01868, allocations: 273.1 kB / 387.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.01869, allocations: 0 / 387.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.01875, allocations: 15.94 kB / 387.1 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.01876, allocations: 4 kB / 387.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01877, allocations: 3.984 kB / 387.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01878, allocations: 3.938 kB / 387.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.01878, allocations: 4 kB / 387.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.01921, allocations: 225.5 kB / 387.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.01934, allocations: 79.55 kB / 387.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.01939, allocations: 0 / 387.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.01948, allocations: 4 kB / 387.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.01954, allocations: 15.92 kB / 387.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.01956, allocations: 7.984 kB / 387.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.02059, allocations: 0.7916 MB / 388.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02059, allocations: 4 kB / 388.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.02089, allocations: 40 kB / 388.3 MB, free: 7.523 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.002059/0.02295, allocations: 431.4 kB / 388.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.02327, allocations: 99.83 kB / 388.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02328, allocations: 0 / 388.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.02341, allocations: 43.91 kB / 388.8 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.02391, allocations: 78.56 kB / 388.9 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.02548, allocations: 0.9053 MB / 389.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.02582, allocations: 249.7 kB / 390.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.02596, allocations: 58.94 kB / 390.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.02605, allocations: 28.5 kB / 390.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02605, allocations: 0 / 390.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of Templates: time 0.01003/0.03607, allocations: 4.057 MB / 394.2 MB, free: 1.711 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.956869989051484]