Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001787/0.001787, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002257/0.002257, allocations: 208.2 kB / 23.73 MB, free: 4.523 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.541/1.541, allocations: 230.6 MB / 257.5 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.2455/0.2455, allocations: 46.94 MB / 360.9 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 0.4966 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003416/0.3684, allocations: 1.798 MB / 0.5629 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3703, allocations: 1.038 MB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.3704, allocations: 0 / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.371, allocations: 307.2 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.3715, allocations: 251.2 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.3717, allocations: 107.6 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.3721, allocations: 263.3 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.3721, allocations: 9.812 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3723, allocations: 139.5 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.3726, allocations: 211.9 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3726, allocations: 8 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3728, allocations: 52.02 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3729, allocations: 132.4 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3731, allocations: 115.1 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.3735, allocations: 372.7 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3735, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3735, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.3735, allocations: 4 kB / 0.5658 GB, free: 15.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001179/0.3747, allocations: 0.6767 MB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3748, allocations: 8.031 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.3749, allocations: 52.61 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.3756, allocations: 390.5 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3756, allocations: 4.375 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.3757, allocations: 12.12 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.3759, allocations: 83.36 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3759, allocations: 3.938 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.376, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.376, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3761, allocations: 31.97 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.3766, allocations: 302.1 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3769, allocations: 105.2 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.377, allocations: 41.69 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3771, allocations: 4 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.3773, allocations: 112.9 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 4.177e-06/0.3773, allocations: 7.984 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006076/0.3779, allocations: 209.6 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.378, allocations: 81.11 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3794, allocations: 1.03 MB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.3794, allocations: 29.7 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.3796, allocations: 236.1 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.3797, allocations: 31.77 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.3797, allocations: 33.72 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.38, allocations: 366.8 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.541e-05/0.3801, allocations: 31.98 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3802, allocations: 62.92 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.3804, allocations: 95.41 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3804, allocations: 0 / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003458/0.3808, allocations: 193.1 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3808, allocations: 4 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3808, allocations: 0 / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.3808, allocations: 4 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.381, allocations: 19.98 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.381, allocations: 4 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3811, allocations: 15.89 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3811, allocations: 7.984 kB / 0.5699 GB, free: 10.89 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002265/0.3813, allocations: 217.7 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.3814, allocations: 55.61 kB / 0.5702 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.3818, allocations: 209.8 kB / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3818, allocations: 0 / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3818, allocations: 4.25 kB / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3818, allocations: 0 / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.3821, allocations: 265.2 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3821, allocations: 0 / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.3822, allocations: 11.98 kB / 0.5706 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3822, allocations: 7.938 kB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3822, allocations: 0 / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3822, allocations: 0 / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3822, allocations: 4 kB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3826, allocations: 225.5 kB / 0.5709 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3827, allocations: 67.53 kB / 0.5709 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.3828, allocations: 4 kB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.3829, allocations: 11.98 kB / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.3829, allocations: 11.92 kB / 0.571 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3829, allocations: 4 kB / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008885/0.3838, allocations: 0.7682 MB / 0.5717 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3838, allocations: 3.938 kB / 0.5717 GB, free: 8.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3841, allocations: 51.98 kB / 0.5718 GB, free: 8.926 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001699/0.3858, allocations: 436.8 kB / 0.5722 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.3861, allocations: 83.89 kB / 0.5723 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3861, allocations: 0 / 0.5723 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3862, allocations: 43.92 kB / 0.5723 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.3866, allocations: 78.5 kB / 0.5724 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3881, allocations: 0.8777 MB / 0.5732 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3884, allocations: 245.7 kB / 0.5735 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3885, allocations: 54.89 kB / 0.5735 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.3886, allocations: 35.42 kB / 0.5736 GB, free: 7.227 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3886, allocations: 0 / 0.5736 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Templates: time 0.009862/0.3985, allocations: 4.342 MB / 0.5778 GB, free: 2.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 5.44130371697247]