Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001522/0.001522, 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.001648/0.001648, allocations: 217 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.415/1.415, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.2462/0.2462, allocations: 46.92 MB / 361.5 MB, free: 4.277 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 75.88 kB / 0.4975 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.321, allocations: 66.08 MB / 0.562 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003212/0.3242, allocations: 1.744 MB / 0.5637 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3259, allocations: 1.053 MB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.326, allocations: 3.938 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.3263, allocations: 35.78 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.3266, allocations: 95.55 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.3268, allocations: 79.72 kB / 0.565 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.327, allocations: 103.7 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.3271, allocations: 4 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3272, allocations: 59.7 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.3273, allocations: 27.86 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3273, allocations: 4 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.3274, allocations: 43.92 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.3274, allocations: 19.91 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.3275, allocations: 35.75 kB / 0.5652 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3277, allocations: 121.9 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3277, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3277, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3277, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005823/0.3283, allocations: 333.7 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3283, allocations: 12.03 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.3284, allocations: 8.891 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3286, allocations: 150.3 kB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3287, allocations: 4.375 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3287, allocations: 4.375 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3288, allocations: 57.97 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3289, allocations: 8 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3289, allocations: 0 / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3289, allocations: 3.984 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.329, allocations: 16 kB / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.3293, allocations: 267.8 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3295, allocations: 50.67 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.3296, allocations: 20.84 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3296, allocations: 3.938 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3297, allocations: 75.33 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3297, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.3303, allocations: 173.5 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.3303, allocations: 55.34 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3305, allocations: 171.5 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3305, allocations: 25.7 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.3306, allocations: 104.1 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3307, allocations: 27.78 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.3307, allocations: 29.7 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3309, allocations: 334.7 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.3309, allocations: 12 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.331, allocations: 37.7 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3311, allocations: 61.64 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3311, allocations: 0 / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.3313, allocations: 101.6 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3313, allocations: 6.188 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3313, allocations: 3.984 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3313, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.3314, allocations: 19.94 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3314, allocations: 0 / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.3315, allocations: 4 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3315, allocations: 4 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001076/0.3316, allocations: 125.8 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.3316, allocations: 11.95 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3319, allocations: 126.4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3319, allocations: 0 / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3319, allocations: 4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3319, allocations: 0 / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.3323, allocations: 358.4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3323, allocations: 0 / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.3324, allocations: 12.03 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3324, allocations: 3.984 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3324, allocations: 4 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3324, allocations: 3.938 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3324, allocations: 3.938 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3326, allocations: 200.3 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3326, allocations: 15.84 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3327, allocations: 4 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.3327, allocations: 15.92 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.3328, allocations: 4.375 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3328, allocations: 7.984 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.3329, allocations: 127.2 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3329, allocations: 0 / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3332, allocations: 23.94 kB / 0.5685 GB, free: 13.3 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001671/0.3348, allocations: 453.6 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.335, allocations: 55.91 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.335, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.3351, allocations: 31.92 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3354, allocations: 35.2 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.3359, allocations: 236.9 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3362, allocations: 0.7041 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.3363, allocations: 19.42 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3363, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004036/0.3403, allocations: 1.904 MB / 0.5718 GB, free: 9.973 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.580941834952682]