Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001319/0.001319, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001418/0.001418, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2551/0.2551, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3099, allocations: 66.04 MB / 0.5619 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003012/0.3129, allocations: 1.675 MB / 0.5635 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3146, allocations: 0.9521 MB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.3146, allocations: 0 / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3149, allocations: 51.69 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.3152, allocations: 99.61 kB / 0.5646 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.3154, allocations: 79.66 kB / 0.5647 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3156, allocations: 95.7 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3156, allocations: 4.234 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.3157, allocations: 47.77 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.3158, allocations: 31.8 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3158, allocations: 4 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.3159, allocations: 31.98 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.316, allocations: 35.84 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.316, allocations: 23.81 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3162, allocations: 129.8 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3162, allocations: 0 / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3162, allocations: 0 / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3162, allocations: 0 / 0.5651 GB, free: 0.9102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000553/0.3168, allocations: 373.3 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3168, allocations: 8.031 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3168, allocations: 8.891 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.3171, allocations: 167.2 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3171, allocations: 384 / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3171, allocations: 8.125 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3173, allocations: 49.67 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3173, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3173, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3173, allocations: 7.984 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.3174, allocations: 12 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.3176, allocations: 145.3 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3177, allocations: 50.66 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.3178, allocations: 16.86 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3178, allocations: 7.938 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.318, allocations: 71.33 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.318, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002881/0.3183, allocations: 101.5 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3183, allocations: 51.41 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.3186, allocations: 278.8 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3186, allocations: 29.7 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3187, allocations: 112.1 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3187, allocations: 15.91 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.3188, allocations: 17.72 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3189, allocations: 330.8 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.319, allocations: 16 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.319, allocations: 37.62 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.3191, allocations: 53.83 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3191, allocations: 0 / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.3193, allocations: 101.4 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3193, allocations: 8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3193, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3193, allocations: 4.031 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.3194, allocations: 8 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3194, allocations: 0 / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.3195, allocations: 15.89 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3195, allocations: 4 kB / 0.5671 GB, free: 14.65 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 (7): * Single equations (assignments): 7 * 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.0001102/0.3196, allocations: 129.8 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3196, allocations: 19.84 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3198, allocations: 102.7 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3198, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3198, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3199, allocations: 7.984 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.32, allocations: 145.3 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.32, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.32, allocations: 7.984 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.32, allocations: 3.938 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.32, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.32, allocations: 4 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.32, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3202, allocations: 121 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.3203, allocations: 15.84 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3203, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/0.3203, allocations: 12.17 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.3204, allocations: 4 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3204, allocations: 8 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3206, allocations: 204.6 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 0 / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.3208, allocations: 16 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00161/0.3224, allocations: 441.2 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3226, allocations: 43.91 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3226, allocations: 4.062 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.3226, allocations: 20 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.3229, allocations: 31.84 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.3234, allocations: 308.1 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/0.3235, allocations: 101.8 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.3236, allocations: 15.44 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3236, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Templates: time 0.003954/0.3275, allocations: 1.93 MB / 0.5706 GB, free: 11.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.900767752435058]