Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2688/0.2688, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 59.91 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3049, allocations: 66.02 MB / 0.5619 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003571/0.3085, allocations: 1.794 MB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3106, allocations: 1.046 MB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3107, allocations: 0 / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.3112, allocations: 299.3 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.3117, allocations: 255.2 kB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.312, allocations: 115.6 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.3124, allocations: 267.2 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.3124, allocations: 9.812 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3126, allocations: 123.6 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.3129, allocations: 215.9 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.313, allocations: 8 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3131, allocations: 52.02 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.3133, allocations: 132.5 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3134, allocations: 115 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3139, allocations: 372.8 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.314, allocations: 8 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.314, allocations: 0 / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.314, allocations: 0 / 0.5665 GB, free: 15.37 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.00117/0.3151, allocations: 0.6747 MB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3152, allocations: 12.03 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.782e-05/0.3153, allocations: 52.55 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.316, allocations: 386.5 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.316, allocations: 384 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.316, allocations: 8.125 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.3163, allocations: 91.34 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3163, allocations: 4 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3163, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3163, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3164, allocations: 39.91 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3168, allocations: 302.1 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3171, allocations: 105.2 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3173, allocations: 41.7 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3173, allocations: 0 / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3175, allocations: 124.9 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3175, allocations: 0 / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005326/0.318, allocations: 209.2 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.3181, allocations: 85.05 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.3194, allocations: 1.03 MB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3194, allocations: 29.7 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.3197, allocations: 236.1 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.3197, allocations: 31.78 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.3198, allocations: 29.7 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000298/0.3201, allocations: 370.8 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3203, allocations: 27.98 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3204, allocations: 67.66 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.3208, allocations: 99.34 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3208, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000508/0.3213, allocations: 177.2 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3213, allocations: 7.984 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3213, allocations: 7.938 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3213, allocations: 0 / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3215, allocations: 23.94 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.3215, allocations: 7.984 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.3217, allocations: 11.89 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3217, allocations: 4 kB / 0.5707 GB, free: 10.89 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.0003469/0.3221, allocations: 221.8 kB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3222, allocations: 55.61 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.3228, allocations: 201.8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3228, allocations: 4 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3228, allocations: 0 / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3228, allocations: 256 / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3232, allocations: 261.2 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3232, allocations: 7.938 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.3233, allocations: 12 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3233, allocations: 3.938 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3234, allocations: 11.98 kB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3234, allocations: 4 kB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3234, allocations: 0 / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.3239, allocations: 213.5 kB / 0.5716 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.3241, allocations: 75.47 kB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.3242, allocations: 7.984 kB / 0.5717 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3244, allocations: 7.938 kB / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3244, allocations: 7.984 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3244, allocations: 8 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.3258, allocations: 0.7682 MB / 0.5725 GB, free: 8.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3258, allocations: 4 kB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005273/0.3264, allocations: 44 kB / 0.5725 GB, free: 8.93 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.002421/0.3288, allocations: 437.6 kB / 0.5729 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.3292, allocations: 87.89 kB / 0.573 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3292, allocations: 3.938 kB / 0.573 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.3294, allocations: 43.91 kB / 0.5731 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.3302, allocations: 86.88 kB / 0.5731 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3322, allocations: 0.8699 MB / 0.574 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3327, allocations: 237.8 kB / 0.5742 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.3329, allocations: 58.94 kB / 0.5743 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.333, allocations: 23.44 kB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.333, allocations: 8 kB / 0.5743 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Templates: time 0.0148/0.3478, allocations: 4.338 MB / 0.5785 GB, free: 2.938 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.2905428759986535]