Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001471/0.001471, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001758/0.001758, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.374/1.374, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.2243/0.2243, allocations: 46.93 MB / 361.5 MB, free: 4.188 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 79.88 kB / 0.4975 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3078, allocations: 66.08 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003209/0.311, allocations: 1.784 MB / 0.5638 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3128, allocations: 1.057 MB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.3128, allocations: 3.938 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.3132, allocations: 107.7 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3136, allocations: 127.5 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.3138, allocations: 87.72 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.314, allocations: 135.6 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3141, allocations: 17.58 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3142, allocations: 71.69 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3144, allocations: 79.73 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3144, allocations: 4 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3145, allocations: 63.97 kB / 0.5655 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.3146, allocations: 43.78 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.3147, allocations: 47.67 kB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.3149, allocations: 161.7 kB / 0.5657 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3149, allocations: 0 / 0.5657 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3149, allocations: 0 / 0.5657 GB, free: 436 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3149, allocations: 0 / 0.5657 GB, free: 436 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006258/0.3156, allocations: 401.2 kB / 0.5661 GB, free: 4 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.3156, allocations: 8.078 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.3157, allocations: 16.84 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.316, allocations: 167.2 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.316, allocations: 4.375 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.316, allocations: 8.375 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3162, allocations: 73.97 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3162, allocations: 3.953 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3162, allocations: 0 / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3163, allocations: 7.938 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3164, allocations: 39.91 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3168, allocations: 299.8 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3171, allocations: 70.55 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.3171, allocations: 24.84 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3172, allocations: 4 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.3173, allocations: 83.31 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3173, allocations: 0 / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008264/0.3181, allocations: 305.7 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3182, allocations: 51.41 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3185, allocations: 263.7 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3185, allocations: 29.7 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3186, allocations: 120.1 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3186, allocations: 51.62 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.3187, allocations: 29.72 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3188, allocations: 330.8 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.3189, allocations: 35.98 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.319, allocations: 59.89 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3192, allocations: 109 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3192, allocations: 0 / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002642/0.3194, allocations: 157.6 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3195, allocations: 8 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3195, allocations: 0 / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3195, allocations: 0 / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.3196, allocations: 31.92 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3196, allocations: 3.938 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.3196, allocations: 12.02 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3196, allocations: 8 kB / 0.5684 GB, free: 13.47 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 (16): * Single equations (assignments): 16 * 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.0001275/0.3198, allocations: 139.2 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3198, allocations: 31.73 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.3201, allocations: 175.1 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3201, allocations: 7.984 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3201, allocations: 3.938 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3201, allocations: 0 / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.3208, allocations: 479 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3208, allocations: 0 / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.3208, allocations: 19.98 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3208, allocations: 4 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3209, allocations: 8 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3209, allocations: 0 / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3209, allocations: 0 / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.3212, allocations: 265.1 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.3212, allocations: 11.91 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3212, allocations: 8 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.3213, allocations: 3.984 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3214, allocations: 15.92 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3214, allocations: 12 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3215, allocations: 189.8 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3215, allocations: 0 / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3218, allocations: 43.88 kB / 0.5698 GB, free: 11.99 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 (14): * Single equations (assignments): 12 * 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.001881/0.3237, allocations: 0.4964 MB / 0.5702 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3239, allocations: 107.8 kB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.324, allocations: 0 / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3241, allocations: 47.98 kB / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3244, allocations: 42.98 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.325, allocations: 358.2 kB / 0.5708 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3254, allocations: 0.7241 MB / 0.5715 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.3254, allocations: 23.42 kB / 0.5715 GB, free: 10.32 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3254, allocations: 0 / 0.5715 GB, free: 10.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004743/0.3302, allocations: 2.532 MB / 0.574 GB, free: 7.805 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.497877400135621]