Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001335/0.001335, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001461/0.001461, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.228/0.228, allocations: 46.96 MB / 361.6 MB, free: 4.07 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.91 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 66.05 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003413/0.3022, allocations: 1.886 MB / 0.5637 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3041, allocations: 1.01 MB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.3042, allocations: 0 / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3045, allocations: 51.64 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.3048, allocations: 99.53 kB / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.305, allocations: 95.66 kB / 0.565 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3052, allocations: 151.5 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3053, allocations: 21.39 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3054, allocations: 67.7 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3055, allocations: 47.72 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3056, allocations: 8 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3057, allocations: 47.98 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3057, allocations: 27.91 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.3058, allocations: 39.73 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3061, allocations: 154 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3061, allocations: 0 / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3061, allocations: 0 / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3061, allocations: 0 / 0.5655 GB, free: 464 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000692/0.3068, allocations: 419 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.3068, allocations: 12.02 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3069, allocations: 20.84 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3072, allocations: 167 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3072, allocations: 4.375 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.3073, allocations: 16.11 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3077, allocations: 133.9 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3077, allocations: 0 / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3077, allocations: 12 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3077, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3079, allocations: 47.91 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.3085, allocations: 460.6 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.3089, allocations: 78.67 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.309, allocations: 36.83 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.309, allocations: 4 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.3093, allocations: 113 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.3093, allocations: 0 / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004513/0.3097, allocations: 145.5 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3098, allocations: 59.39 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.31, allocations: 207 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.31, allocations: 33.7 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.3101, allocations: 108.1 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.3102, allocations: 43.72 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.3102, allocations: 33.7 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3104, allocations: 322.8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3105, allocations: 27.98 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3106, allocations: 64.27 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3108, allocations: 100.1 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3108, allocations: 4 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003439/0.3112, allocations: 145.8 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3112, allocations: 4 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3112, allocations: 7.984 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3112, allocations: 0 / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3113, allocations: 23.98 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3113, allocations: 7.875 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.3114, allocations: 20.02 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3114, allocations: 11.98 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001665/0.3116, allocations: 129.8 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3116, allocations: 15.91 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.3119, allocations: 131 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3119, allocations: 4 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3119, allocations: 7.922 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3119, allocations: 0 / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3121, allocations: 145.3 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3121, allocations: 4 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.3122, allocations: 12 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.3122, allocations: 0 / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3122, allocations: 0 / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.3122, allocations: 7.922 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3122, allocations: 0 / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.3126, allocations: 196.9 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3127, allocations: 15.92 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3127, allocations: 8 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3128, allocations: 8.062 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3128, allocations: 7.984 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3128, allocations: 4.219 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.313, allocations: 147.2 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3132, allocations: 35.86 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001724/0.3149, allocations: 435.3 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.3153, allocations: 87.89 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3153, allocations: 0 / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3154, allocations: 40.11 kB / 0.5696 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3157, allocations: 43.84 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.3163, allocations: 279.3 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.3165, allocations: 117.9 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.3166, allocations: 13.42 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.3166, allocations: 19.44 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3166, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005876/0.3225, allocations: 2.142 MB / 0.5722 GB, free: 9.453 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.987211490995833]