Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001761/0.001761, 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.002092/0.002092, allocations: 209.9 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.517/1.517, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.2281/0.2281, allocations: 46.94 MB / 361.5 MB, free: 3.926 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 79.88 kB / 0.4975 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3297, allocations: 66.08 MB / 0.562 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003298/0.333, allocations: 1.729 MB / 0.5637 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3348, allocations: 0.9749 MB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.3349, allocations: 3.938 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.3352, allocations: 83.69 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.3355, allocations: 123.6 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.3357, allocations: 83.66 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3359, allocations: 115.7 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.336, allocations: 19.95 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.519e-05/0.3361, allocations: 51.78 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3362, allocations: 75.67 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3363, allocations: 4 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3364, allocations: 67.95 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.3365, allocations: 27.86 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.3365, allocations: 31.81 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3367, allocations: 153.7 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3368, allocations: 0 / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3368, allocations: 0 / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3368, allocations: 0 / 0.5654 GB, free: 376 kB / 398.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.0005995/0.3374, allocations: 376 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3374, allocations: 12.03 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.3374, allocations: 12.84 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3377, allocations: 162.9 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3377, allocations: 4.375 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.3377, allocations: 12.38 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3379, allocations: 59.3 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3379, allocations: 4 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3379, allocations: 3.984 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3379, allocations: 0 / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.338, allocations: 31.91 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.3384, allocations: 244.4 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3387, allocations: 62.48 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.3387, allocations: 28.97 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3388, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.3389, allocations: 67.39 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3389, allocations: 0 / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007748/0.3397, allocations: 249.3 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3397, allocations: 59.34 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.34, allocations: 243 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.34, allocations: 29.7 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.3401, allocations: 112.1 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3401, allocations: 43.69 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3402, allocations: 21.72 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3403, allocations: 326.8 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3404, allocations: 35.92 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.3405, allocations: 49.69 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3406, allocations: 77.7 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3406, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002419/0.3409, allocations: 141.4 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3409, allocations: 8.031 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3409, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3409, allocations: 4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.341, allocations: 16 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.341, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.341, allocations: 11.92 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.341, allocations: 8 kB / 0.5678 GB, free: 13.71 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 (13): * Single equations (assignments): 13 * 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.0001151/0.3412, allocations: 132.4 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3412, allocations: 23.84 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3415, allocations: 143.8 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3415, allocations: 8 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3415, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3415, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.3421, allocations: 407.6 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.3421, allocations: 0 / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.3421, allocations: 23.92 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3421, allocations: 3.938 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3421, allocations: 0 / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3421, allocations: 7.984 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3421, allocations: 4.062 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.3424, allocations: 241.1 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.3425, allocations: 11.91 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3425, allocations: 11.94 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.3426, allocations: 7.984 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3426, allocations: 11.98 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3426, allocations: 7.938 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3428, allocations: 179.2 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3428, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3431, allocations: 27.94 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002077/0.3451, allocations: 0.544 MB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3454, allocations: 75.91 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3454, allocations: 0 / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.3455, allocations: 39.92 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3458, allocations: 27.73 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.3464, allocations: 330.2 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3465, allocations: 109.7 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3466, allocations: 23.38 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3466, allocations: 0 / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004539/0.3511, allocations: 2.313 MB / 0.5724 GB, free: 9.086 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.042034627869725]