Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001237/0.001237, 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.001374/0.001374, 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.334/1.334, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.2128/0.2128, allocations: 46.92 MB / 361.5 MB, free: 4.18 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 83.81 kB / 0.4975 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2963, allocations: 66.07 MB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003674/0.3, allocations: 1.951 MB / 0.5639 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3021, allocations: 1.15 MB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3023, allocations: 0 / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.3027, allocations: 167.5 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.3032, allocations: 183.2 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.3035, allocations: 115.7 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.3039, allocations: 251.3 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.304, allocations: 17.95 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3042, allocations: 123.5 kB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3044, allocations: 143.5 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.3045, allocations: 12 kB / 0.566 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3046, allocations: 67.97 kB / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.3047, allocations: 51.89 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.3048, allocations: 87.3 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.3052, allocations: 225.3 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3052, allocations: 0 / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3052, allocations: 0 / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3052, allocations: 0 / 0.5664 GB, free: 15.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008998/0.3061, allocations: 484.5 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3061, allocations: 12.03 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3063, allocations: 28.75 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.3067, allocations: 226.5 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3067, allocations: 8.375 kB / 0.5672 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3067, allocations: 4.375 kB / 0.5672 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.307, allocations: 111.7 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.307, allocations: 3.938 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.307, allocations: 0 / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.307, allocations: 8 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.3072, allocations: 43.97 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.3078, allocations: 439.8 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.3082, allocations: 125.2 kB / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.713e-05/0.3083, allocations: 41.77 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3083, allocations: 0 / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3085, allocations: 132.3 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3085, allocations: 3.938 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001291/0.3098, allocations: 489.7 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3099, allocations: 85.05 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.3103, allocations: 372.5 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3104, allocations: 33.7 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3105, allocations: 148.5 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.3106, allocations: 79.36 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.3106, allocations: 41.7 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3108, allocations: 342.8 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3109, allocations: 55.97 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3111, allocations: 92.44 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3114, allocations: 167.5 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3114, allocations: 0 / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004116/0.3118, allocations: 233.3 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3118, allocations: 4 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3118, allocations: 0 / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3118, allocations: 12 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.312, allocations: 39.97 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.312, allocations: 4.234 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.3121, allocations: 8 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3121, allocations: 15.98 kB / 0.5702 GB, free: 11.62 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001553/0.3122, allocations: 166.1 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3123, allocations: 27.81 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3128, allocations: 263.2 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3128, allocations: 4 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3128, allocations: 0 / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3128, allocations: 0 / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.3138, allocations: 0.6873 MB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3138, allocations: 4.125 kB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.3139, allocations: 31.92 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3139, allocations: 7.938 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3139, allocations: 8 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3139, allocations: 3.984 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3139, allocations: 4 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.3144, allocations: 421.8 kB / 0.5717 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.3144, allocations: 23.84 kB / 0.5717 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.3145, allocations: 8 kB / 0.5718 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3146, allocations: 8 kB / 0.5718 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.3147, allocations: 27.91 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.3147, allocations: 11.98 kB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.315, allocations: 279 kB / 0.5721 GB, free: 9.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.315, allocations: 0 / 0.5721 GB, free: 9.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.3153, allocations: 47.94 kB / 0.5721 GB, free: 9.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001928/0.3173, allocations: 0.5158 MB / 0.5726 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3176, allocations: 155.8 kB / 0.5728 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3176, allocations: 0 / 0.5728 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.3178, allocations: 71.84 kB / 0.5728 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.3184, allocations: 63.05 kB / 0.5729 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.3193, allocations: 0.5296 MB / 0.5734 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.3197, allocations: 0.7635 MB / 0.5742 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.3198, allocations: 35.42 kB / 0.5742 GB, free: 7.473 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3198, allocations: 4 kB / 0.5742 GB, free: 7.469 MB / 414.1 MB Notification: Performance of Templates: time 0.006927/0.3267, allocations: 3.62 MB / 0.5777 GB, free: 3.863 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.3302395639475435]