Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001595/0.001595, allocations: 119.9 kB / 17.13 MB, free: 5.926 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.001805/0.001805, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.506/1.506, allocations: 207.6 MB / 230.4 MB, free: 4.043 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.3554/0.3554, allocations: 44.23 MB / 326.5 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 180] 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.002283/0.002283, allocations: 76.45 kB / 462.2 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3134, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002949/0.3164, allocations: 1.927 MB / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3176, allocations: 0.8433 MB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.75e-05/0.3177, allocations: 1.75 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.318, allocations: 48.59 kB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3182, allocations: 60.23 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.3184, allocations: 104.4 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3186, allocations: 139.3 kB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3187, allocations: 32.64 kB / 0.514 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.3188, allocations: 54.94 kB / 0.5141 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.3189, allocations: 50.66 kB / 0.5141 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3189, allocations: 11.33 kB / 0.5141 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.645e-05/0.319, allocations: 42.02 kB / 0.5142 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.3191, allocations: 26.45 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.3191, allocations: 51.55 kB / 0.5143 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.3194, allocations: 157.9 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3194, allocations: 0 / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3194, allocations: 0 / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3194, allocations: 5.219 kB / 0.5144 GB, free: 10.49 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005712/0.32, allocations: 479.1 kB / 0.5149 GB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.32, allocations: 14.45 kB / 0.5149 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.32, allocations: 36.16 kB / 0.5149 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3201, allocations: 17 kB / 0.5149 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.3203, allocations: 225.3 kB / 0.5152 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3204, allocations: 6.562 kB / 0.5152 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3204, allocations: 16.81 kB / 0.5152 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3206, allocations: 106.4 kB / 0.5153 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3206, allocations: 0 / 0.5153 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3207, allocations: 5.672 kB / 0.5153 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3207, allocations: 1.312 kB / 0.5153 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3208, allocations: 52.34 kB / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.3213, allocations: 0.5063 MB / 0.5158 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.3216, allocations: 80.47 kB / 0.5159 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.3217, allocations: 37.25 kB / 0.5159 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3218, allocations: 2.469 kB / 0.5159 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.322, allocations: 84.78 kB / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.322, allocations: 0 / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003706/0.3223, allocations: 147.5 kB / 0.5162 GB, free: 8.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3224, allocations: 53.16 kB / 0.5162 GB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3225, allocations: 198.3 kB / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3225, allocations: 27.08 kB / 0.5164 GB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.3226, allocations: 118.9 kB / 0.5165 GB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3226, allocations: 31.81 kB / 0.5166 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.3227, allocations: 31.33 kB / 0.5166 GB, free: 8.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.3227, allocations: 325.6 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.3228, allocations: 28.48 kB / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.3229, allocations: 68.89 kB / 0.517 GB, free: 8.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.323, allocations: 105.3 kB / 0.5171 GB, free: 7.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.323, allocations: 0 / 0.5171 GB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002316/0.3233, allocations: 133.9 kB / 0.5172 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3233, allocations: 5.5 kB / 0.5172 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3233, allocations: 1.375 kB / 0.5172 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3233, allocations: 6.688 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.3234, allocations: 25.86 kB / 0.5173 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3234, allocations: 9.422 kB / 0.5173 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.3235, allocations: 13.45 kB / 0.5173 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3235, allocations: 4.125 kB / 0.5173 GB, free: 7.824 MB / 382.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 6.988e-05/0.3235, allocations: 126.1 kB / 0.5174 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3236, allocations: 14.78 kB / 0.5174 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.3236, allocations: 17.53 kB / 0.5175 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3236, allocations: 9.312 kB / 0.5175 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3236, allocations: 5.359 kB / 0.5175 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3236, allocations: 3.984 kB / 0.5175 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3237, allocations: 208.9 kB / 0.5177 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3237, allocations: 1.375 kB / 0.5177 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.3238, allocations: 9.625 kB / 0.5177 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3238, allocations: 0 / 0.5177 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3238, allocations: 5.375 kB / 0.5177 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3238, allocations: 9.344 kB / 0.5177 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3238, allocations: 3.938 kB / 0.5177 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3241, allocations: 184.4 kB / 0.5179 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3242, allocations: 89.14 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3242, allocations: 1.375 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.3243, allocations: 16.05 kB / 0.518 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3243, allocations: 2.75 kB / 0.518 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3243, allocations: 10.67 kB / 0.518 GB, free: 7.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.3244, allocations: 136 kB / 0.5181 GB, free: 7.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3244, allocations: 0 / 0.5181 GB, free: 7.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3246, allocations: 27.27 kB / 0.5181 GB, free: 7.055 MB / 382.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001774/0.3264, allocations: 1.033 MB / 0.5192 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3266, allocations: 84.83 kB / 0.5192 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3266, allocations: 0 / 0.5192 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.3267, allocations: 30.61 kB / 0.5193 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.327, allocations: 39.91 kB / 0.5193 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3286, allocations: 1.737 MB / 0.521 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.3288, allocations: 0.724 MB / 0.5217 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.3288, allocations: 13.42 kB / 0.5217 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.3289, allocations: 43.42 kB / 0.5218 GB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3289, allocations: 0 / 0.5218 GB, free: 3.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.3568, allocations: 3.791 MB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.542, allocations: 12.7 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.488778362050653]