Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002045/0.002044, allocations: 102.6 kB / 16.27 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00246/0.00246, allocations: 191 kB / 17.19 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2362/0.2362, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB 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.001725/0.001725, allocations: 80.86 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09961, allocations: 57.8 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003236/0.1029, allocations: 1.689 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1043, allocations: 0.8 MB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1044, allocations: 0 / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1048, allocations: 47.81 kB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1052, allocations: 59.69 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1055, allocations: 87.28 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1058, allocations: 95.69 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1059, allocations: 20.16 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.106, allocations: 39.8 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.1061, allocations: 27.84 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1061, allocations: 4 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1062, allocations: 43.92 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.1063, allocations: 19.92 kB / 443.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.1063, allocations: 35.73 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1066, allocations: 127.6 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1066, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1066, allocations: 4 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1066, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.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.0005286/0.1071, allocations: 422.8 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1072, allocations: 15.89 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.1072, allocations: 30.75 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1073, allocations: 12.78 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1075, allocations: 215.9 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1075, allocations: 4.375 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1075, allocations: 3.938 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1077, allocations: 57.67 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1077, allocations: 8 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1077, allocations: 0 / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1077, allocations: 0 / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.1078, allocations: 19.98 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1081, allocations: 292.8 kB / 444.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1083, allocations: 62.61 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.1084, allocations: 24.84 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1084, allocations: 4 kB / 444.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1087, allocations: 63.33 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1087, allocations: 0 / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005806/0.1093, allocations: 185.1 kB / 445.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1093, allocations: 51.41 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1095, allocations: 226.6 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1095, allocations: 29.69 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1096, allocations: 108.1 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1096, allocations: 27.64 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1097, allocations: 21.72 kB / 445.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.1097, allocations: 322.8 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.1098, allocations: 23.98 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.1098, allocations: 37.7 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.1099, allocations: 65.62 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1099, allocations: 0 / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001544/0.1101, allocations: 101.5 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1101, allocations: 4 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1101, allocations: 4.031 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1102, allocations: 4 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.1103, allocations: 19.92 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1103, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.1103, allocations: 11.94 kB / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1103, allocations: 0 / 446.2 MB, free: 1.031 MB / 318.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.82e-05/0.1104, allocations: 129.8 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1104, allocations: 19.81 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1105, allocations: 21.33 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1105, allocations: 8 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1105, allocations: 0 / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1105, allocations: 3.938 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.1108, allocations: 391.7 kB / 446.7 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1108, allocations: 3.984 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1109, allocations: 12 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1109, allocations: 7.938 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1109, allocations: 0 / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.1109, allocations: 8.156 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1109, allocations: 0 / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1111, allocations: 204.2 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.1111, allocations: 88.91 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1112, allocations: 7.938 kB / 447 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.1112, allocations: 4 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1113, allocations: 11.98 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1113, allocations: 4 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1115, allocations: 167.2 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1115, allocations: 0 / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1118, allocations: 27.98 kB / 447.2 MB, free: 15.82 MB / 334.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.001637/0.1134, allocations: 1.104 MB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1136, allocations: 67.91 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1136, allocations: 4.062 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.1137, allocations: 27.94 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1141, allocations: 30 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1161, allocations: 1.716 MB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1164, allocations: 0.7117 MB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.474e-05/0.1165, allocations: 17.19 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.1166, allocations: 43.36 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1166, allocations: 0 / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.1391, allocations: 3.466 MB / 454.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.273, allocations: 7.875 kB / 454.4 MB, free: 8.551 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches