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.001829/0.001829, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00224/0.00224, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2801/0.2801, allocations: 46.96 MB / 360.9 MB, free: 4.129 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.89 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 66.04 MB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003213/0.369, allocations: 1.706 MB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3717, allocations: 1.669 MB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3718, allocations: 4 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.3722, allocations: 31.77 kB / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.3726, allocations: 107.5 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3728, allocations: 79.61 kB / 0.5642 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3731, allocations: 115.7 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3732, allocations: 9.766 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3733, allocations: 55.77 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3734, allocations: 43.78 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3734, allocations: 8 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.3736, allocations: 99.94 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.3737, allocations: 27.84 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.3738, allocations: 31.8 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.3741, allocations: 175.4 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3741, allocations: 0 / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3741, allocations: 4 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.3741, allocations: 0 / 0.5647 GB, free: 12 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.0006853/0.3748, allocations: 357.4 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3749, allocations: 12.03 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3749, allocations: 46.67 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.375, allocations: 8.891 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3753, allocations: 152 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3753, allocations: 4.375 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.3753, allocations: 11.92 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.3755, allocations: 97.09 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3756, allocations: 11.94 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3756, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3756, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3757, allocations: 31.92 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.3761, allocations: 279.9 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3764, allocations: 66.67 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.3764, allocations: 24.84 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3764, allocations: 0 / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.3766, allocations: 75.33 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3766, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006539/0.3773, allocations: 213.6 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.3774, allocations: 89.09 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.3776, allocations: 178.2 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3776, allocations: 29.7 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.3777, allocations: 100.1 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3777, allocations: 31.81 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.3778, allocations: 29.66 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3779, allocations: 322.8 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.378, allocations: 23.98 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3781, allocations: 76.27 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3783, allocations: 85.64 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3783, allocations: 0 / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002363/0.3785, allocations: 125.5 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3785, allocations: 8 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3785, allocations: 0 / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3786, allocations: 0 / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3787, allocations: 19.94 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3787, allocations: 4.141 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.3788, allocations: 7.938 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3788, allocations: 3.984 kB / 0.5671 GB, free: 13.3 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.0001391/0.3789, allocations: 128.5 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.379, allocations: 11.95 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.3793, allocations: 150.4 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3793, allocations: 0 / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3793, allocations: 0 / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3793, allocations: 7.922 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.3799, allocations: 398.5 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3799, allocations: 0 / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.3799, allocations: 16 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3799, allocations: 11.95 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3799, allocations: 0 / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3799, allocations: 4 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3799, allocations: 3.938 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3803, allocations: 228.3 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.3803, allocations: 19.89 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.3803, allocations: 7.938 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.3804, allocations: 11.98 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3804, allocations: 4 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3805, allocations: 7.984 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3806, allocations: 140.1 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 0 / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3809, allocations: 51.86 kB / 0.5683 GB, free: 12.04 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 (11): * Single equations (assignments): 9 * 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.002721/0.3836, allocations: 1.255 MB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3839, allocations: 75.91 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3839, allocations: 0 / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.384, allocations: 35.92 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3843, allocations: 38.78 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3864, allocations: 1.691 MB / 0.5713 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.812e-05/0.3865, allocations: 96.31 kB / 0.5714 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.3865, allocations: 16.64 kB / 0.5714 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3866, allocations: 43.36 kB / 0.5715 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3866, allocations: 0 / 0.5715 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.4201, allocations: 4.97 MB / 0.5763 GB, free: 3.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 8 kB / 0.5763 GB, free: 3.973 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: 14.795917569193989]