Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001285/0.001285, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001956/0.001956, allocations: 211.8 kB / 24.51 MB, free: 3.914 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 / 258.3 MB, free: 7.73 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.229/0.229, allocations: 46.98 MB / 361.7 MB, free: 4.008 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 67.89 kB / 0.4969 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3477, allocations: 66.03 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003474/0.3512, allocations: 1.898 MB / 0.5633 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.353, allocations: 1.006 MB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.3531, allocations: 4 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3534, allocations: 47.69 kB / 0.5643 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.3537, allocations: 99.48 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3539, allocations: 103.6 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.3541, allocations: 151.5 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3542, allocations: 15.58 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3543, allocations: 63.7 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3544, allocations: 51.72 kB / 0.5648 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3545, allocations: 4 kB / 0.5648 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3546, allocations: 51.92 kB / 0.5648 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.3546, allocations: 31.89 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.3547, allocations: 35.75 kB / 0.5649 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.355, allocations: 159.2 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.355, allocations: 4 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.355, allocations: 0 / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.355, allocations: 3.938 kB / 0.565 GB, free: 460 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.0006607/0.3556, allocations: 415 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.3557, allocations: 12.08 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/0.3557, allocations: 192 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.3557, allocations: 38.75 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3558, allocations: 16.84 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3561, allocations: 171 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.3561, allocations: 12.12 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3561, allocations: 8 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3564, allocations: 132.7 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3564, allocations: 0 / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3564, allocations: 4 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3564, allocations: 11.92 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3566, allocations: 51.91 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.3572, allocations: 476 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.3575, allocations: 86.66 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.3576, allocations: 36.83 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3576, allocations: 4 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.3578, allocations: 109 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3578, allocations: 0 / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004133/0.3582, allocations: 157.4 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3583, allocations: 55.41 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3585, allocations: 203.2 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3585, allocations: 29.69 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.3586, allocations: 116.1 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3586, allocations: 31.73 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.3587, allocations: 29.7 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3588, allocations: 326.8 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.3589, allocations: 31.97 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3591, allocations: 64.03 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.3593, allocations: 108.5 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3593, allocations: 0 / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002887/0.3596, allocations: 141.4 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3596, allocations: 12.06 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3596, allocations: 8 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3596, allocations: 3.938 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3597, allocations: 23.98 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3597, allocations: 0 / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.3598, allocations: 19.88 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3598, allocations: 8 kB / 0.5679 GB, free: 13.3 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.0001239/0.3599, allocations: 121.8 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.36, allocations: 19.91 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.3603, allocations: 138.9 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3603, allocations: 4 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3603, allocations: 0 / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3603, allocations: 0 / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.3605, allocations: 172.7 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3605, allocations: 0 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.3606, allocations: 15.98 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3606, allocations: 0 / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3606, allocations: 3.938 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3606, allocations: 0 / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3606, allocations: 0 / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.3611, allocations: 196.9 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.3611, allocations: 19.88 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3612, allocations: 7.938 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.3612, allocations: 8.266 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3613, allocations: 11.92 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3613, allocations: 4 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.3614, allocations: 151.2 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3614, allocations: 0 / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3617, allocations: 24 kB / 0.5687 GB, free: 12.34 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.002204/0.3639, allocations: 1.065 MB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3641, allocations: 83.83 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3641, allocations: 0 / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3642, allocations: 39.91 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3645, allocations: 43.97 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3668, allocations: 1.764 MB / 0.5716 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3669, allocations: 109.8 kB / 0.5717 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.843e-05/0.367, allocations: 21.39 kB / 0.5718 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.367, allocations: 47.42 kB / 0.5718 GB, free: 9.199 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.367, allocations: 0 / 0.5718 GB, free: 9.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.3934, allocations: 4.213 MB / 0.5759 GB, free: 5.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.94, allocations: 7.438 kB / 0.5759 GB, free: 5.062 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.123903585015796]