Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.00137/0.00137, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001489/0.001489, allocations: 211 kB / 23.74 MB, free: 4.66 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2346/0.2346, allocations: 46.94 MB / 360.9 MB, free: 4.266 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 63.91 kB / 0.4962 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3243, allocations: 66.03 MB / 0.5607 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003917/0.3283, allocations: 1.784 MB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3302, allocations: 1.053 MB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3303, allocations: 4 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.3307, allocations: 103.7 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.3312, allocations: 135.5 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3315, allocations: 83.66 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3318, allocations: 139.7 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3319, allocations: 15.69 kB / 0.564 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3321, allocations: 71.69 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3322, allocations: 75.73 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3323, allocations: 8 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.3324, allocations: 59.97 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.3325, allocations: 35.86 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.3326, allocations: 51.66 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3329, allocations: 167.2 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3329, allocations: 4 kB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3329, allocations: 0 / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3329, allocations: 0 / 0.5644 GB, free: 0.8008 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006856/0.3336, allocations: 393.1 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3336, allocations: 12.03 kB / 0.5648 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.3337, allocations: 30.75 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3338, allocations: 24.83 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.3341, allocations: 163.2 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3341, allocations: 12.36 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3342, allocations: 7.938 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3343, allocations: 69.66 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3344, allocations: 3.953 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3344, allocations: 4 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3344, allocations: 0 / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3345, allocations: 39.91 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.335, allocations: 307.7 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.3353, allocations: 70.55 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.3354, allocations: 28.84 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3354, allocations: 0 / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.3356, allocations: 79.31 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3356, allocations: 0 / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000899/0.3365, allocations: 309.1 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3365, allocations: 55.34 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.3368, allocations: 259.7 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3368, allocations: 25.7 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3369, allocations: 120.1 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.337, allocations: 47.78 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.337, allocations: 33.7 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3372, allocations: 330.8 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.3373, allocations: 43.92 kB / 0.5668 GB, free: 14.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/0.3374, allocations: 60.78 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.3376, allocations: 89.72 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3376, allocations: 0.8438 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000276/0.3378, allocations: 173.4 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3379, allocations: 8 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3379, allocations: 0 / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3379, allocations: 3.938 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.338, allocations: 31.92 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.338, allocations: 0 / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.338, allocations: 4 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3381, allocations: 8 kB / 0.5671 GB, free: 13.8 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 (16): * Single equations (assignments): 16 * 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.0001197/0.3382, allocations: 141.8 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3382, allocations: 23.89 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.3386, allocations: 191 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.3386, allocations: 4 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3386, allocations: 0 / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3386, allocations: 0 / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.3392, allocations: 487.1 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3392, allocations: 4.062 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.3393, allocations: 23.92 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3393, allocations: 4 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3393, allocations: 0 / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3393, allocations: 4 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3393, allocations: 0 / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.3397, allocations: 265 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.3397, allocations: 15.89 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.3397, allocations: 8 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.3398, allocations: 0 / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3398, allocations: 15.98 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3398, allocations: 4 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.34, allocations: 197.5 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.34, allocations: 0 / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3403, allocations: 35.89 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002488/0.3428, allocations: 1.206 MB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3431, allocations: 95.91 kB / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3431, allocations: 0 / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3432, allocations: 51.86 kB / 0.5698 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3436, allocations: 40.88 kB / 0.5698 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.346, allocations: 1.994 MB / 0.5718 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3464, allocations: 0.7279 MB / 0.5725 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.3465, allocations: 29.41 kB / 0.5725 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.3466, allocations: 51.42 kB / 0.5726 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3466, allocations: 0 / 0.5726 GB, free: 8.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.3773, allocations: 4.556 MB / 0.577 GB, free: 3.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.21, allocations: 3.938 kB / 0.577 GB, free: 3.711 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.203447283944115]