Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001348/0.001348, allocations: 102.8 kB / 15.98 MB, free: 6.336 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.001198/0.001198, allocations: 195.7 kB / 16.91 MB, free: 6.188 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.754/1.754, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3248/0.3248, allocations: 43.5 MB / 313.6 MB, free: 8.297 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.001397/0.001398, allocations: 66.55 kB / 382.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 57.78 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003218/0.1111, allocations: 1.725 MB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1122, allocations: 0.769 MB / 442.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.1122, allocations: 4 kB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1125, allocations: 55.86 kB / 442.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1127, allocations: 59.8 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.113, allocations: 75.86 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1131, allocations: 99.67 kB / 442.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1132, allocations: 11.97 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1132, allocations: 47.78 kB / 443 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.1133, allocations: 47.77 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1134, allocations: 8 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.1134, allocations: 32 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1135, allocations: 11.92 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1135, allocations: 35.78 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1137, allocations: 99.94 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.1137, allocations: 0 / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1137, allocations: 0 / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1137, allocations: 0 / 443.2 MB, free: 11.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004549/0.1142, allocations: 402.9 kB / 443.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1142, allocations: 11.89 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.1143, allocations: 46.73 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.1143, allocations: 8.844 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1145, allocations: 204 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1145, allocations: 12.3 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1146, allocations: 7.875 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1147, allocations: 45.69 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1147, allocations: 4 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1147, allocations: 0 / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1147, allocations: 3.984 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.1148, allocations: 19.94 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.115, allocations: 173.7 kB / 444.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1151, allocations: 58.55 kB / 444.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.1152, allocations: 16.86 kB / 444.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1152, allocations: 3.984 kB / 444.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.1154, allocations: 75.33 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.1154, allocations: 0 / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002472/0.1157, allocations: 89.58 kB / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1157, allocations: 51.41 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1159, allocations: 186.1 kB / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1159, allocations: 29.7 kB / 444.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.116, allocations: 96.14 kB / 444.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.116, allocations: 15.89 kB / 444.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.116, allocations: 17.72 kB / 444.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1162, allocations: 322.8 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1162, allocations: 12 kB / 445.1 MB, free: 9.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.1163, allocations: 33.64 kB / 445.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1164, allocations: 49.95 kB / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1164, allocations: 7.938 kB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001421/0.1165, allocations: 77.53 kB / 445.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1166, allocations: 4 kB / 445.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1166, allocations: 4 kB / 445.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.1166, allocations: 0 / 445.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.1167, allocations: 11.98 kB / 445.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1167, allocations: 0 / 445.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1167, allocations: 7.906 kB / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1167, allocations: 0 / 445.2 MB, free: 8.996 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 (7): * Single equations (assignments): 7 * 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 9.343e-05/0.1168, allocations: 137.7 kB / 445.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.1169, allocations: 11.91 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.1169, allocations: 8.312 kB / 445.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1169, allocations: 3.938 kB / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1169, allocations: 3.938 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1169, allocations: 3.984 kB / 445.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1171, allocations: 193.5 kB / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1171, allocations: 0 / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.1171, allocations: 4 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1171, allocations: 4 kB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1171, allocations: 3.938 kB / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1171, allocations: 0 / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1171, allocations: 0 / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1173, allocations: 113 kB / 445.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.1174, allocations: 84.92 kB / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.1174, allocations: 0 / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.1174, allocations: 16.11 kB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.1175, allocations: 4 kB / 445.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.1175, allocations: 4 kB / 445.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1176, allocations: 144 kB / 446 MB, free: 8.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1176, allocations: 3.938 kB / 446 MB, free: 8.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1178, allocations: 16 kB / 446 MB, free: 8.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00126/0.1191, allocations: 0.9433 MB / 446.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1193, allocations: 43.92 kB / 447 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1193, allocations: 0 / 447 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.1193, allocations: 23.98 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1196, allocations: 39.14 kB / 447 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.121, allocations: 1.496 MB / 448.5 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1213, allocations: 0.6963 MB / 449.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.1213, allocations: 12.56 kB / 449.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.1214, allocations: 31.42 kB / 449.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1214, allocations: 0 / 449.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.1339, allocations: 2.888 MB / 452.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.1341, allocations: 238.8 kB / 452.4 MB, free: 1.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.914, allocations: 0 / 452.4 MB, free: 1.605 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches