Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001284/0.001284, allocations: 112.7 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.0013/0.0013, 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.523/1.523, allocations: 207.6 MB / 230.5 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.3548/0.3548, allocations: 44.23 MB / 326.5 MB, free: 6.852 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.002322/0.002322, allocations: 75.89 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3223, allocations: 61 MB / 0.511 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003457/0.3257, allocations: 1.929 MB / 0.5129 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.327, allocations: 0.8461 MB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3271, allocations: 5.438 kB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.3275, allocations: 43.59 kB / 0.5137 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3277, allocations: 62.55 kB / 0.5138 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.328, allocations: 103.6 kB / 0.5139 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3282, allocations: 143.5 kB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3283, allocations: 20.53 kB / 0.514 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3284, allocations: 61.14 kB / 0.5141 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.3285, allocations: 54.05 kB / 0.5142 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.3285, allocations: 5.281 kB / 0.5142 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3286, allocations: 38.75 kB / 0.5142 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.3287, allocations: 33.52 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.3288, allocations: 48.38 kB / 0.5143 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.329, allocations: 154 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.329, allocations: 0 / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.329, allocations: 0 / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3291, allocations: 0 / 0.5144 GB, free: 10.48 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.0005942/0.3296, allocations: 489.1 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3297, allocations: 12.64 kB / 0.5149 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.3297, allocations: 40.95 kB / 0.5149 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3298, allocations: 16.59 kB / 0.515 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.3301, allocations: 222.2 kB / 0.5152 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3301, allocations: 7.219 kB / 0.5152 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3301, allocations: 11.98 kB / 0.5152 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.3303, allocations: 110 kB / 0.5153 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3304, allocations: 0 / 0.5153 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3304, allocations: 5.188 kB / 0.5153 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3304, allocations: 2.375 kB / 0.5153 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3305, allocations: 46.16 kB / 0.5153 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.331, allocations: 0.511 MB / 0.5158 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.3313, allocations: 81.09 kB / 0.5159 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.3314, allocations: 37.84 kB / 0.516 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3314, allocations: 5.438 kB / 0.516 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.3316, allocations: 89.33 kB / 0.516 GB, free: 8.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3316, allocations: 0 / 0.516 GB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003911/0.332, allocations: 151.5 kB / 0.5162 GB, free: 8.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.332, allocations: 52.91 kB / 0.5162 GB, free: 8.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3321, allocations: 186 kB / 0.5164 GB, free: 8.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3321, allocations: 35.02 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3322, allocations: 114.9 kB / 0.5166 GB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3322, allocations: 31.86 kB / 0.5166 GB, free: 8.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3323, allocations: 27.34 kB / 0.5166 GB, free: 8.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.3323, allocations: 325.6 kB / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.3324, allocations: 32.47 kB / 0.517 GB, free: 8.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.3325, allocations: 70.22 kB / 0.517 GB, free: 7.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3326, allocations: 101.3 kB / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3326, allocations: 0 / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002377/0.3329, allocations: 137.9 kB / 0.5172 GB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3329, allocations: 5.5 kB / 0.5173 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3329, allocations: 1.375 kB / 0.5173 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3329, allocations: 6.688 kB / 0.5173 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.333, allocations: 25.8 kB / 0.5173 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.333, allocations: 1.375 kB / 0.5173 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3331, allocations: 17.44 kB / 0.5173 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3331, allocations: 8.25 kB / 0.5173 GB, free: 7.809 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 7.915e-05/0.3332, allocations: 126.1 kB / 0.5174 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3332, allocations: 14.78 kB / 0.5174 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.3332, allocations: 17.98 kB / 0.5175 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3332, allocations: 5.312 kB / 0.5175 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3333, allocations: 1.375 kB / 0.5175 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3333, allocations: 0 / 0.5175 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3334, allocations: 208.9 kB / 0.5177 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3334, allocations: 9.25 kB / 0.5177 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.3335, allocations: 13.62 kB / 0.5177 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3335, allocations: 0 / 0.5177 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3335, allocations: 9.359 kB / 0.5177 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3335, allocations: 5.312 kB / 0.5177 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3335, allocations: 0 / 0.5177 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.3338, allocations: 176.4 kB / 0.5179 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.3339, allocations: 89.2 kB / 0.518 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3339, allocations: 9.359 kB / 0.518 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.3339, allocations: 8.062 kB / 0.518 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.334, allocations: 10.73 kB / 0.518 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.334, allocations: 4.125 kB / 0.518 GB, free: 7.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.081e-05/0.3341, allocations: 142.1 kB / 0.5181 GB, free: 7.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3341, allocations: 1.375 kB / 0.5181 GB, free: 7.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.3343, allocations: 23.06 kB / 0.5181 GB, free: 7.047 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.001843/0.3362, allocations: 1.037 MB / 0.5192 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3364, allocations: 73.41 kB / 0.5192 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3364, allocations: 256 / 0.5192 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.3365, allocations: 41.84 kB / 0.5193 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3368, allocations: 32.3 kB / 0.5193 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3384, allocations: 1.736 MB / 0.521 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.3385, allocations: 0.7123 MB / 0.5217 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.3386, allocations: 29.34 kB / 0.5217 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.3386, allocations: 47.42 kB / 0.5218 GB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3386, allocations: 0 / 0.5218 GB, free: 3.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.3651, allocations: 3.787 MB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.629, allocations: 8.719 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.590712676756084]