Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.00169/0.00169, allocations: 102.7 kB / 16.27 MB, free: 5.98 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.001756/0.001756, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.354/1.354, 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.2056/0.2056, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.002026/0.002026, allocations: 74.44 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.1007, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003139/0.1038, allocations: 1.693 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.105, allocations: 0.8 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1051, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1055, allocations: 43.77 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.1058, allocations: 55.75 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1061, allocations: 87.7 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1063, allocations: 91.7 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1064, allocations: 20.16 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1065, allocations: 43.78 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.1066, allocations: 23.86 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1066, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1068, allocations: 39.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.1068, allocations: 23.91 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1069, allocations: 31.75 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1071, allocations: 115.6 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1071, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1071, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1071, allocations: 4 kB / 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.0005191/0.1076, allocations: 410.9 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1077, allocations: 11.89 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.1077, allocations: 38.75 kB / 444.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1078, allocations: 8.844 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.108, allocations: 205.2 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.108, allocations: 384 / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.108, allocations: 7.938 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1082, allocations: 61.61 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1082, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1082, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1082, allocations: 0 / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.1083, allocations: 19.98 kB / 444.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1086, allocations: 288.8 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1088, allocations: 62.61 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.1089, allocations: 24.84 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1089, allocations: 7.922 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.109, allocations: 63.39 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1091, allocations: 3.938 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004878/0.1096, allocations: 177.1 kB / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.1096, allocations: 55.41 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1097, allocations: 190.1 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.1097, allocations: 29.7 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1098, allocations: 100.1 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1098, allocations: 23.7 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1098, allocations: 25.72 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.1099, allocations: 318.8 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.1099, allocations: 19.98 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.11, allocations: 45.64 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.1101, allocations: 61.77 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1101, allocations: 0 / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.1103, allocations: 101.5 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1103, allocations: 8 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1103, allocations: 384 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1103, allocations: 4.031 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.1104, allocations: 19.98 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1104, allocations: 0 / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.1105, allocations: 7.938 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1105, allocations: 4 kB / 446.1 MB, free: 1.102 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.945e-05/0.1105, allocations: 140.9 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.1106, allocations: 15.81 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1106, allocations: 12.72 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1106, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1106, allocations: 4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1106, allocations: 3.938 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.1109, allocations: 391.3 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1109, allocations: 3.984 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.111, allocations: 8 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.111, allocations: 3.938 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.111, allocations: 4 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.111, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.111, allocations: 4.031 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.1112, allocations: 204.2 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.1112, allocations: 92.91 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1113, allocations: 4.125 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.1113, allocations: 4 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1114, allocations: 19.92 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1114, allocations: 0 / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1115, allocations: 139.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1115, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1118, allocations: 23.98 kB / 447.1 MB, free: 15.93 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.001539/0.1134, allocations: 1.091 MB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1136, allocations: 67.91 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1136, allocations: 64 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.1137, allocations: 31.98 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.114, allocations: 23.22 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1159, allocations: 1.623 MB / 449.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1162, allocations: 0.7118 MB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.1163, allocations: 16.88 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.1164, allocations: 35.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1164, allocations: 0 / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1381, allocations: 3.293 MB / 454 MB, free: 8.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.397, allocations: 8 kB / 454 MB, free: 8.961 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches