Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.91 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3087, allocations: 66.03 MB / 0.5619 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003059/0.3117, allocations: 1.728 MB / 0.5636 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3135, allocations: 0.9676 MB / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.3136, allocations: 0 / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3138, allocations: 47.7 kB / 0.5646 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.3141, allocations: 99.53 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3143, allocations: 75.73 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3145, allocations: 103.7 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.3145, allocations: 15.98 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.3146, allocations: 39.8 kB / 0.5649 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.3147, allocations: 39.77 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3147, allocations: 4 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.3148, allocations: 39.98 kB / 0.565 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.3148, allocations: 23.86 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.3148, allocations: 23.81 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.315, allocations: 121.9 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.315, allocations: 4 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.315, allocations: 0 / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.315, allocations: 0 / 0.5651 GB, free: 0.8516 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.00045/0.3155, allocations: 353.5 kB / 0.5655 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3155, allocations: 12.03 kB / 0.5655 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3156, allocations: 8.891 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.3158, allocations: 151 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3158, allocations: 4.312 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3158, allocations: 12.11 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.316, allocations: 53.67 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.316, allocations: 0 / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.316, allocations: 0 / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.316, allocations: 4 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.3161, allocations: 23.98 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.3164, allocations: 228.5 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3166, allocations: 66.59 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.3166, allocations: 16.86 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3166, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.3168, allocations: 71.38 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3168, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005303/0.3173, allocations: 189.3 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3173, allocations: 55.41 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3175, allocations: 198.3 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3176, allocations: 25.7 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.3176, allocations: 108.1 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3177, allocations: 27.73 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3177, allocations: 25.7 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3179, allocations: 330.8 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.3179, allocations: 27.86 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.318, allocations: 37.7 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3181, allocations: 61.7 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3181, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.3184, allocations: 109.5 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3184, allocations: 8 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.3184, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3184, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.3185, allocations: 16.36 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3185, allocations: 4 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3185, allocations: 4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3185, allocations: 8.031 kB / 0.5673 GB, free: 14.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 (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.0001184/0.3186, allocations: 133.7 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.3187, allocations: 19.89 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.3189, allocations: 119 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3189, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.319, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.319, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.3194, allocations: 350.9 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3194, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.3195, allocations: 16.02 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3195, allocations: 0 / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3195, allocations: 8 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3195, allocations: 240 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3195, allocations: 3.938 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3198, allocations: 220.4 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.3198, allocations: 7.953 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3198, allocations: 11.98 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.3199, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3199, allocations: 11.92 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3199, allocations: 8 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3201, allocations: 152.2 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3201, allocations: 4 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3204, allocations: 23.94 kB / 0.5683 GB, free: 13.32 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 (9): * Single equations (assignments): 7 * 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.001816/0.3222, allocations: 494.7 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.3224, allocations: 55.91 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3224, allocations: 0 / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.3224, allocations: 31.98 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3228, allocations: 38.5 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.3232, allocations: 238.6 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.3233, allocations: 96.3 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.3233, allocations: 21.28 kB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3234, allocations: 23.42 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3234, allocations: 0 / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.005026/0.3284, allocations: 1.923 MB / 0.5711 GB, free: 10.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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: 4.922272378986236]