Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001593/0.001593, allocations: 109.9 kB / 17.08 MB, free: 6.012 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.00175/0.00175, allocations: 191.7 kB / 20.02 MB, free: 3.082 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.613/1.613, allocations: 205.1 MB / 227.9 MB, free: 4.344 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.3915/0.3915, allocations: 43.52 MB / 320.8 MB, free: 9.059 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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.002151/0.002151, allocations: 75.89 kB / 450.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2935, allocations: 57.78 MB / 0.496 GB, free: 19.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003324/0.2969, allocations: 1.703 MB / 0.4976 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2983, allocations: 0.7998 MB / 0.4984 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.2983, allocations: 0 / 0.4984 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.2987, allocations: 46.45 kB / 0.4985 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.2989, allocations: 56.81 kB / 0.4985 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2991, allocations: 86.16 kB / 0.4986 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.2993, allocations: 96.7 kB / 0.4987 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2994, allocations: 14.84 kB / 0.4987 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.2995, allocations: 43.47 kB / 0.4987 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.2996, allocations: 32.84 kB / 0.4988 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2996, allocations: 3.5 kB / 0.4988 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.2997, allocations: 39.58 kB / 0.4988 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.2998, allocations: 17.77 kB / 0.4988 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.2998, allocations: 36.42 kB / 0.4989 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3, allocations: 114 kB / 0.499 GB, free: 17.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3, allocations: 1.156 kB / 0.499 GB, free: 17.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3001, allocations: 4 kB / 0.499 GB, free: 17.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.3001, allocations: 0 / 0.499 GB, free: 17.02 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.0005061/0.3006, allocations: 415.8 kB / 0.4994 GB, free: 16.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3006, allocations: 13.64 kB / 0.4994 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.3007, allocations: 35.84 kB / 0.4994 GB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3007, allocations: 17.41 kB / 0.4994 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.301, allocations: 206.7 kB / 0.4996 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.301, allocations: 1.469 kB / 0.4996 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.301, allocations: 11.12 kB / 0.4997 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3012, allocations: 53.08 kB / 0.4997 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3012, allocations: 1.156 kB / 0.4997 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3012, allocations: 4 kB / 0.4997 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3012, allocations: 5.156 kB / 0.4997 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.3013, allocations: 18.52 kB / 0.4997 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.3016, allocations: 282.3 kB / 0.5 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3018, allocations: 61.84 kB / 0.5001 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.3018, allocations: 21.55 kB / 0.5001 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3019, allocations: 13.16 kB / 0.5001 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.302, allocations: 65.12 kB / 0.5002 GB, free: 15.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.302, allocations: 0 / 0.5002 GB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.3026, allocations: 178 kB / 0.5003 GB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3026, allocations: 56.61 kB / 0.5004 GB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3028, allocations: 185.5 kB / 0.5006 GB, free: 15.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3028, allocations: 26.86 kB / 0.5006 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3028, allocations: 100.5 kB / 0.5007 GB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.3029, allocations: 23.41 kB / 0.5007 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3029, allocations: 21.06 kB / 0.5007 GB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.303, allocations: 326.2 kB / 0.501 GB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.303, allocations: 22.95 kB / 0.5011 GB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.3031, allocations: 39.64 kB / 0.5011 GB, free: 14.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3032, allocations: 59.16 kB / 0.5011 GB, free: 14.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3032, allocations: 0 / 0.5011 GB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3034, allocations: 108 kB / 0.5013 GB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3034, allocations: 4.406 kB / 0.5013 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3035, allocations: 9.219 kB / 0.5013 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3035, allocations: 0.9375 kB / 0.5013 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.3036, allocations: 16.44 kB / 0.5013 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3036, allocations: 5.109 kB / 0.5013 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.3036, allocations: 6.719 kB / 0.5013 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3036, allocations: 6.844 kB / 0.5013 GB, free: 14.82 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 7.634e-05/0.3037, allocations: 126.4 kB / 0.5014 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.3038, allocations: 13.44 kB / 0.5014 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.3038, allocations: 17.5 kB / 0.5014 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3038, allocations: 1.188 kB / 0.5014 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3038, allocations: 3.938 kB / 0.5015 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3038, allocations: 5.188 kB / 0.5015 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.3042, allocations: 389.7 kB / 0.5018 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3042, allocations: 0 / 0.5018 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.3042, allocations: 15.64 kB / 0.5018 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3042, allocations: 5.188 kB / 0.5018 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3042, allocations: 1.438 kB / 0.5019 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3043, allocations: 5.766 kB / 0.5019 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3043, allocations: 0 / 0.5019 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3044, allocations: 200.6 kB / 0.502 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.3045, allocations: 87.36 kB / 0.5021 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3045, allocations: 10.02 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.3046, allocations: 2.344 kB / 0.5021 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3046, allocations: 15.19 kB / 0.5022 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3046, allocations: 7.359 kB / 0.5022 GB, free: 13.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.173e-05/0.3047, allocations: 141.5 kB / 0.5023 GB, free: 13.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3047, allocations: 0 / 0.5023 GB, free: 13.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.305, allocations: 24.45 kB / 0.5023 GB, free: 13.87 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.00179/0.3068, allocations: 1.094 MB / 0.5034 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.307, allocations: 66.52 kB / 0.5035 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.307, allocations: 4.062 kB / 0.5035 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.3071, allocations: 26.25 kB / 0.5035 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3075, allocations: 43.88 kB / 0.5035 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3088, allocations: 1.621 MB / 0.5051 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3089, allocations: 0.7086 MB / 0.5058 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.309, allocations: 18.05 kB / 0.5058 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.3091, allocations: 30.39 kB / 0.5058 GB, free: 10.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3091, allocations: 0.7812 kB / 0.5058 GB, free: 10.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3332, allocations: 3.369 MB / 0.5091 GB, free: 8.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.488, allocations: 1.156 kB / 0.5091 GB, free: 8.676 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.544731141999364]