Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001758/0.001758, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002112/0.002112, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.489/1.489, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.2438/0.2438, allocations: 46.95 MB / 361.5 MB, free: 3.934 MB / 286.1 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 75.88 kB / 0.4974 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3288, allocations: 66.1 MB / 0.562 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003309/0.3321, allocations: 1.784 MB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3344, allocations: 1.045 MB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.3345, allocations: 3.938 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.3351, allocations: 307.3 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.3356, allocations: 267.2 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.3359, allocations: 103.7 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.3362, allocations: 263.3 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.3363, allocations: 5.812 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.3364, allocations: 135.5 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.3367, allocations: 219.4 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3367, allocations: 4 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3368, allocations: 51.92 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.337, allocations: 143.6 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.3371, allocations: 107.1 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.3376, allocations: 392.5 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3376, allocations: 0 / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3376, allocations: 0 / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3376, allocations: 0 / 0.5666 GB, free: 15.12 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.001121/0.3387, allocations: 0.6903 MB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3388, allocations: 8.031 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.3389, allocations: 52.61 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.3395, allocations: 386.5 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3395, allocations: 4.375 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3395, allocations: 8.375 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3398, allocations: 95.61 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3398, allocations: 3.938 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3398, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3398, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3399, allocations: 35.97 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3403, allocations: 310 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.3406, allocations: 109.2 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.3407, allocations: 41.69 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3407, allocations: 4 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.3409, allocations: 109 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3409, allocations: 3.938 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004906/0.3414, allocations: 209.2 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.3415, allocations: 81.11 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3427, allocations: 1.065 MB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3427, allocations: 25.7 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3429, allocations: 240.1 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.3429, allocations: 39.72 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.343, allocations: 25.72 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3432, allocations: 366.8 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.3432, allocations: 35.97 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3434, allocations: 59.36 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3435, allocations: 99.34 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3435, allocations: 0 / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003104/0.3439, allocations: 177.8 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3439, allocations: 11.94 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3439, allocations: 4 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3439, allocations: 0 / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.344, allocations: 23.98 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.344, allocations: 3.938 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-05/0.3441, allocations: 7.938 kB / 0.5708 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3441, allocations: 12.06 kB / 0.5708 GB, free: 10.59 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.0002203/0.3443, allocations: 218.7 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3444, allocations: 59.56 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.3448, allocations: 209.8 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3448, allocations: 4 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3448, allocations: 0 / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3448, allocations: 0 / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3451, allocations: 273.1 kB / 0.5716 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3451, allocations: 0 / 0.5716 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.3452, allocations: 12 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3452, allocations: 4 kB / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3452, allocations: 7.938 kB / 0.5716 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3452, allocations: 0 / 0.5716 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3452, allocations: 3.938 kB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.3455, allocations: 217.6 kB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3457, allocations: 67.59 kB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.3457, allocations: 7.938 kB / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3458, allocations: 7.984 kB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3459, allocations: 7.984 kB / 0.5719 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.3459, allocations: 16.12 kB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00087/0.3467, allocations: 0.7917 MB / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 0 / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.347, allocations: 47.92 kB / 0.5727 GB, free: 8.586 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.001642/0.3487, allocations: 434.4 kB / 0.5731 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3489, allocations: 83.89 kB / 0.5732 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3489, allocations: 0 / 0.5732 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.349, allocations: 48.05 kB / 0.5733 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3495, allocations: 70.69 kB / 0.5733 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3507, allocations: 0.9418 MB / 0.5743 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.351, allocations: 245.7 kB / 0.5745 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.654e-05/0.3511, allocations: 23.44 kB / 0.5745 GB, free: 6.848 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3511, allocations: 4 kB / 0.5745 GB, free: 6.844 MB / 414.1 MB Notification: Performance of Templates: time 0.008442/0.3595, allocations: 5.356 MB / 0.5797 GB, free: 1.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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: 8.3285730057396]