Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001469/0.001469, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001558/0.001558, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.745/1.745, allocations: 207.6 MB / 231.2 MB, free: 4.148 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.3485/0.3485, allocations: 44.24 MB / 327.3 MB, free: 6.676 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.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003748/0.003748, allocations: 80.44 kB / 463 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2918, allocations: 61 MB / 0.5117 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00276/0.2946, allocations: 1.7 MB / 0.5134 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2957, allocations: 0.8075 MB / 0.5142 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.2958, allocations: 5.25 kB / 0.5142 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.2961, allocations: 39.89 kB / 0.5142 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.2963, allocations: 60.75 kB / 0.5143 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.2965, allocations: 85.58 kB / 0.5143 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.2967, allocations: 93.22 kB / 0.5144 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.2967, allocations: 9.656 kB / 0.5144 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.424e-05/0.2968, allocations: 51.73 kB / 0.5145 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.2969, allocations: 38.45 kB / 0.5145 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2969, allocations: 3.594 kB / 0.5145 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.297, allocations: 42.44 kB / 0.5146 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.2971, allocations: 18.36 kB / 0.5146 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.2971, allocations: 27.59 kB / 0.5146 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.2973, allocations: 106.4 kB / 0.5147 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2973, allocations: 0 / 0.5147 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2973, allocations: 1.375 kB / 0.5147 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2973, allocations: 0 / 0.5147 GB, free: 11.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004395/0.2977, allocations: 408.8 kB / 0.5151 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2978, allocations: 13.48 kB / 0.5151 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.273e-05/0.2978, allocations: 1.562 kB / 0.5151 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.088e-05/0.2978, allocations: 40.11 kB / 0.5152 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2979, allocations: 9.016 kB / 0.5152 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.2981, allocations: 210 kB / 0.5154 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2981, allocations: 5.375 kB / 0.5154 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.2981, allocations: 2.75 kB / 0.5154 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.2982, allocations: 58.05 kB / 0.5154 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2982, allocations: 0 / 0.5154 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2982, allocations: 0 / 0.5154 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2983, allocations: 9.25 kB / 0.5154 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.2983, allocations: 18.98 kB / 0.5155 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.2986, allocations: 280.1 kB / 0.5157 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2987, allocations: 52.56 kB / 0.5158 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.2988, allocations: 23.5 kB / 0.5158 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2988, allocations: 1.344 kB / 0.5158 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.2989, allocations: 69.77 kB / 0.5159 GB, free: 9.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/0.2989, allocations: 3.984 kB / 0.5159 GB, free: 9.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000508/0.2994, allocations: 180.7 kB / 0.516 GB, free: 9.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.2995, allocations: 60.47 kB / 0.5161 GB, free: 9.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2996, allocations: 156.6 kB / 0.5162 GB, free: 9.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2996, allocations: 30.2 kB / 0.5163 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.2996, allocations: 97.23 kB / 0.5164 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.2997, allocations: 23.75 kB / 0.5164 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.2997, allocations: 19.78 kB / 0.5164 GB, free: 9.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.2998, allocations: 325.5 kB / 0.5167 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.2998, allocations: 18.83 kB / 0.5167 GB, free: 9.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.2999, allocations: 40.42 kB / 0.5168 GB, free: 9.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3, allocations: 66.41 kB / 0.5168 GB, free: 8.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3, allocations: 0 / 0.5168 GB, free: 8.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.3002, allocations: 99.09 kB / 0.5169 GB, free: 8.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3002, allocations: 9.344 kB / 0.5169 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3002, allocations: 1.281 kB / 0.5169 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3002, allocations: 4.031 kB / 0.517 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.3003, allocations: 17.17 kB / 0.517 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3003, allocations: 1.188 kB / 0.517 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.3003, allocations: 6.156 kB / 0.517 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3003, allocations: 2.5 kB / 0.517 GB, free: 8.902 MB / 382.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 (10): * Single equations (assignments): 10 * 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.908e-05/0.3004, allocations: 121.5 kB / 0.5171 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.3004, allocations: 11.92 kB / 0.5171 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.3005, allocations: 13.19 kB / 0.5171 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3005, allocations: 1.031 kB / 0.5171 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3005, allocations: 9.031 kB / 0.5171 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3005, allocations: 0 / 0.5171 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.3008, allocations: 395.2 kB / 0.5175 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3008, allocations: 1.281 kB / 0.5175 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.3008, allocations: 15.64 kB / 0.5175 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3008, allocations: 0 / 0.5175 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3009, allocations: 5.562 kB / 0.5175 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3009, allocations: 1.031 kB / 0.5175 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3009, allocations: 5.188 kB / 0.5175 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3011, allocations: 199.7 kB / 0.5177 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.3011, allocations: 83.66 kB / 0.5178 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3011, allocations: 6.953 kB / 0.5178 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.3012, allocations: 9.438 kB / 0.5178 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.3012, allocations: 10.88 kB / 0.5178 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3012, allocations: 12.64 kB / 0.5178 GB, free: 8.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.3013, allocations: 125.1 kB / 0.518 GB, free: 7.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3013, allocations: 0 / 0.518 GB, free: 7.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3016, allocations: 24.44 kB / 0.518 GB, free: 7.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001932/0.3035, allocations: 1.1 MB / 0.5191 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3037, allocations: 52.92 kB / 0.5191 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3037, allocations: 0 / 0.5191 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.3038, allocations: 31.11 kB / 0.5191 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3041, allocations: 25.73 kB / 0.5192 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3055, allocations: 1.57 MB / 0.5207 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3056, allocations: 0.7079 MB / 0.5214 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.3056, allocations: 17.17 kB / 0.5214 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.3057, allocations: 31.42 kB / 0.5214 GB, free: 4.645 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3057, allocations: 0 / 0.5214 GB, free: 4.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.3234, allocations: 3.311 MB / 0.5247 GB, free: 1.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.658, allocations: 6.766 kB / 0.5247 GB, free: 1.262 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.982610239996575]