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.001474/0.001474, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001571/0.001571, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.352/1.352, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 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.2123/0.2123, allocations: 46.92 MB / 361.5 MB, free: 4.16 MB / 286.1 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.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 75.88 kB / 0.4975 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3095, allocations: 66.08 MB / 0.562 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003265/0.3128, allocations: 1.838 MB / 0.5638 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3147, allocations: 1.115 MB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.3148, allocations: 7.938 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.3153, allocations: 311.2 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.3158, allocations: 247.2 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.316, allocations: 107.7 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.3164, allocations: 267.2 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.3164, allocations: 5.812 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3166, allocations: 139.5 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.3169, allocations: 212 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3169, allocations: 4 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.317, allocations: 55.81 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3172, allocations: 132.5 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.3173, allocations: 146.8 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3178, allocations: 376.6 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3178, allocations: 0 / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3178, allocations: 0 / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3178, allocations: 0 / 0.5668 GB, free: 15.23 MB / 414.1 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.0009675/0.3187, allocations: 0.6786 MB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3188, allocations: 8.031 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.3189, allocations: 52.61 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.3195, allocations: 394.5 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3195, allocations: 4.359 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.3195, allocations: 8.375 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3197, allocations: 87.62 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3197, allocations: 0 / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3197, allocations: 7.984 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3197, allocations: 0 / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.3198, allocations: 23.98 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.3203, allocations: 349.5 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3205, allocations: 101.2 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.3206, allocations: 37.7 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3206, allocations: 3.984 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.3209, allocations: 117 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3209, allocations: 0 / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004627/0.3213, allocations: 205.2 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3214, allocations: 77.11 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3225, allocations: 1.022 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3225, allocations: 41.58 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.3227, allocations: 232.1 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3228, allocations: 31.77 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.3228, allocations: 29.72 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.323, allocations: 362.8 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.3231, allocations: 31.98 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3232, allocations: 67.34 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.3233, allocations: 87.36 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3234, allocations: 4 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002992/0.3236, allocations: 173.2 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3237, allocations: 6.344 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3237, allocations: 4.625 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3237, allocations: 0 / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3238, allocations: 23.98 kB / 0.5709 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3238, allocations: 3.938 kB / 0.5709 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.3239, allocations: 15.89 kB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3239, allocations: 16.05 kB / 0.571 GB, free: 10.73 MB / 414.1 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.0002268/0.3242, allocations: 222.7 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3242, allocations: 51.61 kB / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.3246, allocations: 193.8 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3246, allocations: 4 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3246, allocations: 0 / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3246, allocations: 0 / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.3249, allocations: 308.5 kB / 0.5717 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3249, allocations: 8 kB / 0.5717 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.325, allocations: 19.92 kB / 0.5717 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.325, allocations: 0 / 0.5717 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.325, allocations: 4 kB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.325, allocations: 0 / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.325, allocations: 3.938 kB / 0.5717 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.3253, allocations: 213.5 kB / 0.5719 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3254, allocations: 75.53 kB / 0.572 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3255, allocations: 4 kB / 0.572 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.3256, allocations: 4 kB / 0.572 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3256, allocations: 7.984 kB / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3256, allocations: 7.984 kB / 0.572 GB, free: 9.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008077/0.3264, allocations: 0.7643 MB / 0.5728 GB, free: 8.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3264, allocations: 0 / 0.5728 GB, free: 8.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3267, allocations: 44 kB / 0.5728 GB, free: 8.734 MB / 414.1 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.00146/0.3281, allocations: 412.6 kB / 0.5732 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.3284, allocations: 83.89 kB / 0.5733 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3284, allocations: 0 / 0.5733 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3285, allocations: 39.92 kB / 0.5733 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3289, allocations: 83.69 kB / 0.5734 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3302, allocations: 0.9146 MB / 0.5743 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.3307, allocations: 0.8426 MB / 0.5751 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.3307, allocations: 31.42 kB / 0.5752 GB, free: 6.418 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3307, allocations: 0 / 0.5752 GB, free: 6.418 MB / 414.1 MB Notification: Performance of Templates: time 0.008121/0.3388, allocations: 5.135 MB / 0.5802 GB, free: 1.281 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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: 7.392158773029223]