Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001163/0.001163, allocations: 100.6 kB / 16.27 MB, free: 6.34 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.001191/0.001191, allocations: 187.9 kB / 17.19 MB, free: 5.957 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.635/1.635, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2166/0.2166, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001899/0.001899, allocations: 73.03 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003121/0.1085, allocations: 1.79 MB / 442.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1104, allocations: 1.473 MB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1105, allocations: 7.938 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1109, allocations: 55.69 kB / 444 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1112, allocations: 87.55 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1115, allocations: 135.7 kB / 444.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1118, allocations: 183.5 kB / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.1119, allocations: 13.83 kB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.112, allocations: 79.64 kB / 444.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.1122, allocations: 74.75 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1122, allocations: 8 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1124, allocations: 67.95 kB / 444.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1125, allocations: 23.92 kB / 444.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.1125, allocations: 67.53 kB / 444.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1128, allocations: 163.5 kB / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1128, allocations: 0 / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1128, allocations: 0 / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1128, allocations: 0 / 444.8 MB, free: 2.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00058/0.1134, allocations: 474.6 kB / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1134, allocations: 11.89 kB / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.1135, allocations: 42.69 kB / 445.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.1135, allocations: 16.75 kB / 445.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1138, allocations: 251.4 kB / 445.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1138, allocations: 4.375 kB / 445.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1138, allocations: 3.938 kB / 445.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.114, allocations: 105 kB / 445.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1141, allocations: 0 / 445.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1141, allocations: 4 kB / 445.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.1141, allocations: 4 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1142, allocations: 27.92 kB / 445.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.1144, allocations: 214.5 kB / 446 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.1146, allocations: 113.1 kB / 446.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.1147, allocations: 37.7 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1147, allocations: 0 / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.115, allocations: 113 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.115, allocations: 0 / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003997/0.1154, allocations: 173.4 kB / 446.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.1155, allocations: 128.5 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1157, allocations: 211.8 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1157, allocations: 33.7 kB / 446.8 MB, free: 400 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.1158, allocations: 112.1 kB / 446.9 MB, free: 284 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1158, allocations: 31.58 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.1159, allocations: 25.72 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.116, allocations: 326.8 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.1161, allocations: 35.97 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1162, allocations: 69.14 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1163, allocations: 87.36 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.1164, allocations: 3.938 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002635/0.1166, allocations: 137.4 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1167, allocations: 8 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1167, allocations: 4 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1167, allocations: 0 / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1168, allocations: 19.98 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1168, allocations: 4 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.1169, allocations: 12.53 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1169, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.0001317/0.1171, allocations: 137.7 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1171, allocations: 23.8 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.1172, allocations: 16.98 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1172, allocations: 4 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1172, allocations: 4 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1172, allocations: 0 / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.1174, allocations: 221.5 kB / 448 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1174, allocations: 0 / 448 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1175, allocations: 15.98 kB / 448 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1175, allocations: 3.938 kB / 448 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1175, allocations: 4 kB / 448 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1175, allocations: 0 / 448 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1175, allocations: 4 kB / 448 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1178, allocations: 165.6 kB / 448.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1179, allocations: 92.91 kB / 448.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.1179, allocations: 8 kB / 448.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.118, allocations: 4 kB / 448.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1181, allocations: 15.92 kB / 448.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1181, allocations: 8 kB / 448.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.1183, allocations: 161.5 kB / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.317e-06/0.1183, allocations: 4 kB / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1185, allocations: 35.92 kB / 448.5 MB, free: 14.46 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001504/0.1201, allocations: 1.043 MB / 449.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1203, allocations: 83.89 kB / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1203, allocations: 0 / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1205, allocations: 48.05 kB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1208, allocations: 50.42 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.123, allocations: 1.824 MB / 451.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1233, allocations: 0.7086 MB / 452.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1234, allocations: 33.52 kB / 452.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.1235, allocations: 47.42 kB / 452.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1235, allocations: 4 kB / 452.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.1475, allocations: 4.613 MB / 457 MB, free: 5.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.05, allocations: 12 kB / 457 MB, free: 5.891 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches