Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001572/0.001572, allocations: 107.5 kB / 17.07 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.001833/0.001833, 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.614/1.614, allocations: 205.1 MB / 227.9 MB, free: 4.352 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.4244/0.4244, allocations: 43.51 MB / 320.8 MB, free: 8.992 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.003055/0.003055, allocations: 67.89 kB / 450.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3964, allocations: 57.78 MB / 0.496 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002827/0.3993, allocations: 1.716 MB / 0.4976 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.4005, allocations: 0.8036 MB / 0.4984 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.4006, allocations: 0 / 0.4984 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.401, allocations: 78.23 kB / 0.4985 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.4012, allocations: 83.92 kB / 0.4986 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.4014, allocations: 81.78 kB / 0.4987 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.4016, allocations: 108.9 kB / 0.4988 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4017, allocations: 19.03 kB / 0.4988 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.4018, allocations: 48.95 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.4019, allocations: 54.64 kB / 0.4989 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.402, allocations: 4.312 kB / 0.4989 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.4021, allocations: 46.47 kB / 0.4989 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.4022, allocations: 23.58 kB / 0.4989 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.4023, allocations: 35.56 kB / 0.499 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4025, allocations: 117.7 kB / 0.4991 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4025, allocations: 5.391 kB / 0.4991 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4025, allocations: 4 kB / 0.4991 GB, free: 17.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4025, allocations: 0 / 0.4991 GB, free: 17.06 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.0005379/0.4031, allocations: 422.2 kB / 0.4995 GB, free: 16.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4031, allocations: 12.42 kB / 0.4995 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.4031, allocations: 35.81 kB / 0.4996 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4032, allocations: 14.28 kB / 0.4996 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.4035, allocations: 212.5 kB / 0.4998 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.4035, allocations: 1.688 kB / 0.4998 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.4035, allocations: 9.875 kB / 0.4998 GB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4037, allocations: 58.92 kB / 0.4998 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4037, allocations: 0 / 0.4998 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4037, allocations: 9.141 kB / 0.4998 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4037, allocations: 0 / 0.4998 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.4038, allocations: 19.02 kB / 0.4999 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.4041, allocations: 287.2 kB / 0.5001 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.4043, allocations: 65.95 kB / 0.5002 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.4044, allocations: 17.2 kB / 0.5002 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4044, allocations: 6.516 kB / 0.5002 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.4046, allocations: 67.92 kB / 0.5003 GB, free: 15.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4046, allocations: 0 / 0.5003 GB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00057/0.4052, allocations: 183.1 kB / 0.5005 GB, free: 15.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.4052, allocations: 56.48 kB / 0.5005 GB, free: 15.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4054, allocations: 216.6 kB / 0.5007 GB, free: 15.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4054, allocations: 30.92 kB / 0.5007 GB, free: 15.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.4055, allocations: 105.8 kB / 0.5009 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4055, allocations: 15.36 kB / 0.5009 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4056, allocations: 28.48 kB / 0.5009 GB, free: 15.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.4057, allocations: 323.5 kB / 0.5012 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.4057, allocations: 30.33 kB / 0.5012 GB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.4058, allocations: 31.22 kB / 0.5013 GB, free: 14.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4059, allocations: 56.02 kB / 0.5013 GB, free: 14.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4059, allocations: 0 / 0.5013 GB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.4061, allocations: 111.2 kB / 0.5014 GB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4061, allocations: 6.094 kB / 0.5014 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4061, allocations: 4.031 kB / 0.5014 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4062, allocations: 5.438 kB / 0.5014 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.4063, allocations: 14.19 kB / 0.5014 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4063, allocations: 0 / 0.5014 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4063, allocations: 9.453 kB / 0.5015 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4063, allocations: 7 kB / 0.5015 GB, free: 14.84 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 8.802e-05/0.4064, allocations: 125 kB / 0.5016 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.4065, allocations: 17.81 kB / 0.5016 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.4065, allocations: 15.03 kB / 0.5016 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4065, allocations: 5.531 kB / 0.5016 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4065, allocations: 0 / 0.5016 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4065, allocations: 3.938 kB / 0.5016 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.407, allocations: 395.8 kB / 0.502 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.407, allocations: 1.031 kB / 0.502 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.407, allocations: 11.25 kB / 0.502 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.407, allocations: 5.188 kB / 0.502 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.407, allocations: 1.656 kB / 0.502 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4071, allocations: 5.438 kB / 0.502 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4071, allocations: 0 / 0.502 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.4073, allocations: 205.2 kB / 0.5022 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.4074, allocations: 91.78 kB / 0.5023 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.4074, allocations: 5.656 kB / 0.5023 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.4075, allocations: 2.812 kB / 0.5023 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.4075, allocations: 10.83 kB / 0.5023 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4076, allocations: 11.31 kB / 0.5023 GB, free: 13.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.4077, allocations: 155.8 kB / 0.5025 GB, free: 13.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4077, allocations: 1.406 kB / 0.5025 GB, free: 13.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.408, allocations: 23.94 kB / 0.5025 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.002283/0.4103, allocations: 1.114 MB / 0.5036 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.4106, allocations: 53.61 kB / 0.5036 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4106, allocations: 4.062 kB / 0.5037 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.4107, allocations: 30.17 kB / 0.5037 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.411, allocations: 36.22 kB / 0.5037 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.413, allocations: 1.686 MB / 0.5054 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.4132, allocations: 0.711 MB / 0.5061 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.4132, allocations: 26.48 kB / 0.5061 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.4133, allocations: 35.42 kB / 0.5061 GB, free: 10.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4133, allocations: 0 / 0.5061 GB, free: 10.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.4394, allocations: 3.478 MB / 0.5095 GB, free: 8.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.553, allocations: 9.219 kB / 0.5095 GB, free: 8.582 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.66526649496518]