Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001602/0.001602, allocations: 122.2 kB / 17.84 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.001878/0.001878, allocations: 211.8 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.473/1.473, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.3428/0.3428, allocations: 44.23 MB / 327.3 MB, free: 6.691 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.002673/0.002673, allocations: 75.91 kB / 463 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2917, allocations: 61 MB / 0.5117 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002826/0.2945, allocations: 1.707 MB / 0.5134 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2965, allocations: 1.423 MB / 0.5148 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.2966, allocations: 0 / 0.5148 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.2969, allocations: 45.17 kB / 0.5148 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.2972, allocations: 59.22 kB / 0.5149 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.2974, allocations: 79.84 kB / 0.5149 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.2976, allocations: 104.5 kB / 0.515 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.2977, allocations: 12.7 kB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.2978, allocations: 45.5 kB / 0.5151 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.2979, allocations: 54.75 kB / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2979, allocations: 4.594 kB / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2981, allocations: 65.52 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.2981, allocations: 18.23 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.2982, allocations: 35.64 kB / 0.5153 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.2984, allocations: 132.4 kB / 0.5154 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2984, allocations: 1.156 kB / 0.5154 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2984, allocations: 3.938 kB / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2984, allocations: 0 / 0.5154 GB, free: 10.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005341/0.299, allocations: 424.7 kB / 0.5158 GB, free: 9.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.299, allocations: 13.17 kB / 0.5158 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.299, allocations: 1.594 kB / 0.5158 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.299e-05/0.299, allocations: 36.31 kB / 0.5159 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.2991, allocations: 9.016 kB / 0.5159 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.2994, allocations: 208.7 kB / 0.5161 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2994, allocations: 5.125 kB / 0.5161 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.2994, allocations: 6.422 kB / 0.5161 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2996, allocations: 89.39 kB / 0.5162 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2996, allocations: 0 / 0.5162 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2996, allocations: 1.125 kB / 0.5162 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2996, allocations: 1.188 kB / 0.5162 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.2997, allocations: 35.23 kB / 0.5162 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.3, allocations: 288.7 kB / 0.5165 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3002, allocations: 74.3 kB / 0.5165 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.3003, allocations: 22.22 kB / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3003, allocations: 1.812 kB / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.3004, allocations: 72.06 kB / 0.5166 GB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3004, allocations: 0 / 0.5166 GB, free: 9.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006204/0.3011, allocations: 199.5 kB / 0.5168 GB, free: 8.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3011, allocations: 86.23 kB / 0.5169 GB, free: 8.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3012, allocations: 161.6 kB / 0.5171 GB, free: 8.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3013, allocations: 30.92 kB / 0.5171 GB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.3013, allocations: 104.3 kB / 0.5172 GB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.3013, allocations: 23.8 kB / 0.5172 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3014, allocations: 25.86 kB / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.3014, allocations: 321.6 kB / 0.5175 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.3015, allocations: 25.75 kB / 0.5176 GB, free: 8.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.3016, allocations: 54.98 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3017, allocations: 67.91 kB / 0.5177 GB, free: 8.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3017, allocations: 0 / 0.5177 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002171/0.3019, allocations: 115 kB / 0.5178 GB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3019, allocations: 9.438 kB / 0.5178 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3019, allocations: 4.062 kB / 0.5178 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3019, allocations: 1.375 kB / 0.5178 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.302, allocations: 19.11 kB / 0.5178 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3021, allocations: 0 / 0.5178 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.3021, allocations: 6.75 kB / 0.5178 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3021, allocations: 2.75 kB / 0.5178 GB, free: 8 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 (11): * Single equations (assignments): 11 * 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 9.293e-05/0.3022, allocations: 126 kB / 0.518 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3022, allocations: 12.02 kB / 0.518 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.3023, allocations: 14.22 kB / 0.518 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3023, allocations: 5.375 kB / 0.518 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3023, allocations: 0 / 0.518 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3023, allocations: 3.984 kB / 0.518 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.3027, allocations: 413.4 kB / 0.5184 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3027, allocations: 0 / 0.5184 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.3028, allocations: 9.625 kB / 0.5184 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3028, allocations: 1.469 kB / 0.5184 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3028, allocations: 9.297 kB / 0.5184 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3028, allocations: 9.406 kB / 0.5184 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3028, allocations: 1.375 kB / 0.5184 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.303, allocations: 219 kB / 0.5186 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.3031, allocations: 83.81 kB / 0.5187 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3031, allocations: 1.375 kB / 0.5187 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3032, allocations: 6.734 kB / 0.5187 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3032, allocations: 12.12 kB / 0.5187 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3032, allocations: 6.734 kB / 0.5187 GB, free: 7.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.639e-05/0.3033, allocations: 123.3 kB / 0.5188 GB, free: 7.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3033, allocations: 0 / 0.5188 GB, free: 7.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.3036, allocations: 37.81 kB / 0.5189 GB, free: 7.027 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 (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.0022/0.3058, allocations: 1.15 MB / 0.52 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3061, allocations: 62.42 kB / 0.5201 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3061, allocations: 4 kB / 0.5201 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.3061, allocations: 29.92 kB / 0.5201 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3065, allocations: 28.33 kB / 0.5201 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3078, allocations: 1.624 MB / 0.5217 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3079, allocations: 0.7002 MB / 0.5224 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.308, allocations: 20.94 kB / 0.5224 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/0.3081, allocations: 39.61 kB / 0.5224 GB, free: 3.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3081, allocations: 3.938 kB / 0.5225 GB, free: 3.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.3279, allocations: 3.777 MB / 0.5261 GB, free: 15.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/8.997, allocations: 6.469 kB / 0.5261 GB, free: 15.55 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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: 12.010900685039815]