Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 114.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 191.7 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 207.6 MB / 230.5 MB, free: 3.992 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4025/0.4025, allocations: 44.22 MB / 326.5 MB, free: 6.848 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 79.88 kB / 462.3 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.322, allocations: 60.98 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004003/0.326, allocations: 1.868 MB / 0.5128 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3277, allocations: 0.9024 MB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.3278, allocations: 1.688 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.3283, allocations: 158.2 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3286, allocations: 134.6 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.329, allocations: 153.3 kB / 0.5141 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.3292, allocations: 216.8 kB / 0.5143 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3293, allocations: 15.95 kB / 0.5143 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3294, allocations: 105.4 kB / 0.5144 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3296, allocations: 136.6 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3296, allocations: 7.031 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.3297, allocations: 50.95 kB / 0.5146 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.3298, allocations: 45.17 kB / 0.5147 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.3298, allocations: 75.92 kB / 0.5147 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.3301, allocations: 199.7 kB / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3301, allocations: 1.375 kB / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3301, allocations: 4 kB / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3301, allocations: 0 / 0.5149 GB, free: 10.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008306/0.331, allocations: 0.5102 MB / 0.5154 GB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.331, allocations: 13.48 kB / 0.5154 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.3311, allocations: 36.12 kB / 0.5155 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.3312, allocations: 35.73 kB / 0.5155 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3316, allocations: 272.7 kB / 0.5158 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3316, allocations: 3.125 kB / 0.5158 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3317, allocations: 16.06 kB / 0.5158 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3319, allocations: 93.48 kB / 0.5159 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3319, allocations: 5.359 kB / 0.5159 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3319, allocations: 0 / 0.5159 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3319, allocations: 1.375 kB / 0.5159 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3321, allocations: 41.91 kB / 0.5159 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.3326, allocations: 439.7 kB / 0.5163 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3329, allocations: 107.7 kB / 0.5164 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.333, allocations: 44.81 kB / 0.5165 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.3331, allocations: 2.75 kB / 0.5165 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.3333, allocations: 117.5 kB / 0.5166 GB, free: 8.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3333, allocations: 0 / 0.5166 GB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008579/0.3341, allocations: 365.7 kB / 0.5169 GB, free: 8.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3342, allocations: 82.42 kB / 0.517 GB, free: 8.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.3345, allocations: 356.4 kB / 0.5174 GB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3346, allocations: 30.98 kB / 0.5174 GB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.3346, allocations: 140.8 kB / 0.5175 GB, free: 7.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3347, allocations: 58.39 kB / 0.5176 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.3347, allocations: 34.09 kB / 0.5176 GB, free: 7.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.3348, allocations: 339 kB / 0.5179 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.3349, allocations: 48.3 kB / 0.518 GB, free: 7.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.343e-05/0.335, allocations: 67.41 kB / 0.5181 GB, free: 7.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3352, allocations: 115.4 kB / 0.5182 GB, free: 7.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3352, allocations: 7.938 kB / 0.5182 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002574/0.3355, allocations: 181.4 kB / 0.5183 GB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3355, allocations: 4 kB / 0.5183 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3355, allocations: 4.75 kB / 0.5184 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3355, allocations: 0 / 0.5184 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3356, allocations: 39.86 kB / 0.5184 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3356, allocations: 0 / 0.5184 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.3357, allocations: 11.98 kB / 0.5184 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3357, allocations: 4.062 kB / 0.5184 GB, free: 7.07 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001088/0.3358, allocations: 153.8 kB / 0.5186 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.3359, allocations: 27.86 kB / 0.5186 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.3359, allocations: 34.05 kB / 0.5186 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3359, allocations: 7.938 kB / 0.5186 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3359, allocations: 0 / 0.5186 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3359, allocations: 3.984 kB / 0.5186 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.3366, allocations: 0.6164 MB / 0.5192 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3366, allocations: 0 / 0.5192 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.3366, allocations: 16 kB / 0.5192 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3366, allocations: 0 / 0.5192 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3366, allocations: 7.984 kB / 0.5192 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3366, allocations: 0 / 0.5192 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3366, allocations: 4 kB / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3369, allocations: 372.2 kB / 0.5196 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3369, allocations: 104.9 kB / 0.5197 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.337, allocations: 4 kB / 0.5197 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3371, allocations: 11.98 kB / 0.5197 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3371, allocations: 7.984 kB / 0.5197 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3372, allocations: 16 kB / 0.5197 GB, free: 5.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3373, allocations: 261.9 kB / 0.52 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3373, allocations: 0 / 0.52 GB, free: 5.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.3376, allocations: 36 kB / 0.52 GB, free: 5.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.00197/0.3396, allocations: 1.279 MB / 0.5213 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.3399, allocations: 107.9 kB / 0.5214 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3399, allocations: 0 / 0.5214 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.34, allocations: 51.92 kB / 0.5214 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.3405, allocations: 49.47 kB / 0.5215 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3427, allocations: 2.469 MB / 0.5239 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3429, allocations: 0.7476 MB / 0.5246 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.776e-05/0.343, allocations: 37.92 kB / 0.5247 GB, free: 440 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.343, allocations: 79.39 kB / 0.5247 GB, free: 360 kB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.343, allocations: 0 / 0.5247 GB, free: 360 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.3733, allocations: 5.436 MB / 0.53 GB, free: 10.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.799, allocations: 3.938 kB / 0.53 GB, free: 10.83 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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: 11.752492050174624]