Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001374/0.001374, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001632/0.001632, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2523/0.2523, allocations: 46.93 MB / 361.7 MB, free: 4.277 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 55.91 kB / 0.497 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 66.05 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003434/0.3581, allocations: 1.745 MB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.361, allocations: 1.743 MB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.3611, allocations: 0 / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3615, allocations: 39.77 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.3619, allocations: 99.53 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.3621, allocations: 75.73 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.3623, allocations: 119.6 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3624, allocations: 9.969 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3625, allocations: 51.78 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3627, allocations: 51.77 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3627, allocations: 8 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3629, allocations: 107.9 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.363, allocations: 23.91 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.363, allocations: 39.69 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.3634, allocations: 179.4 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3634, allocations: 0 / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3634, allocations: 0 / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3634, allocations: 0 / 0.5657 GB, free: 164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006671/0.3641, allocations: 369.4 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3641, allocations: 8.031 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.332e-05/0.3641, allocations: 192 / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.3641, allocations: 38.75 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.3642, allocations: 8.891 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3645, allocations: 158.3 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3645, allocations: 8.125 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3646, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3648, allocations: 79.38 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3649, allocations: 3.953 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3649, allocations: 3.938 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3649, allocations: 0 / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.365, allocations: 27.98 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.3653, allocations: 271.8 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.3656, allocations: 66.67 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.3657, allocations: 28.84 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3657, allocations: 3.938 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.3659, allocations: 75.31 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3659, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006429/0.3665, allocations: 201.7 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.3666, allocations: 77.11 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3668, allocations: 178.1 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3668, allocations: 25.7 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.3669, allocations: 100.1 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.3669, allocations: 35.8 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.367, allocations: 25.72 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3671, allocations: 322.8 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.3672, allocations: 27.98 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.3673, allocations: 46.56 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3674, allocations: 73.64 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3674, allocations: 0 / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.3677, allocations: 117.5 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3677, allocations: 10.72 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3677, allocations: 4 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3677, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.3678, allocations: 19.94 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3678, allocations: 8 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.3679, allocations: 7.984 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3679, allocations: 8.188 kB / 0.568 GB, free: 13.54 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 (11): * Single equations (assignments): 11 * 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.000101/0.368, allocations: 120.3 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.368, allocations: 15.89 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3683, allocations: 134.3 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3683, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3683, allocations: 3.938 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3683, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.3688, allocations: 390.3 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3688, allocations: 4 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.3689, allocations: 8 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3689, allocations: 3.938 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3689, allocations: 8.031 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3689, allocations: 3.984 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3689, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3692, allocations: 212.3 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.3692, allocations: 23.83 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3692, allocations: 0 / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.3693, allocations: 7.984 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.3694, allocations: 15.98 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3694, allocations: 7.938 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3695, allocations: 124.1 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3695, allocations: 0 / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.3698, allocations: 47.86 kB / 0.5691 GB, free: 12.35 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.002473/0.3723, allocations: 1.196 MB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3725, allocations: 67.91 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3725, allocations: 64 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.3726, allocations: 27.98 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.373, allocations: 47.91 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.3751, allocations: 1.657 MB / 0.572 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3756, allocations: 0.7084 MB / 0.5727 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3758, allocations: 24.56 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3759, allocations: 39.41 kB / 0.5728 GB, free: 8.656 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3759, allocations: 0 / 0.5728 GB, free: 8.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.4042, allocations: 4.388 MB / 0.577 GB, free: 4.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 6.719 kB / 0.577 GB, free: 4.309 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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: 15.046397926984355]