Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.0007279/0.000728, allocations: 92.88 kB / 17.35 MB, free: 6.344 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.00076/0.00076, allocations: 172.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1842/0.1842, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 12.81 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002383/0.1084, allocations: 1.417 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.11, allocations: 0.846 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1102, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.1105, allocations: 43.88 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1108, allocations: 43.83 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1112, allocations: 98.77 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1113, allocations: 91.7 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1115, allocations: 8.234 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.1116, allocations: 43.77 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.1117, allocations: 27.86 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.1117, allocations: 0 / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1118, allocations: 47.91 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1119, allocations: 19.92 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.112, allocations: 61.45 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1122, allocations: 111.9 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1122, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1122, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1122, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.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.0005557/0.1128, allocations: 409.2 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1128, allocations: 12.03 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.1129, allocations: 38.62 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1129, allocations: 8.844 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1132, allocations: 216.8 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1132, allocations: 4.375 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1132, allocations: 3.938 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1134, allocations: 53.67 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1134, allocations: 0 / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1134, allocations: 0 / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1134, allocations: 4 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.1135, allocations: 15.98 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1139, allocations: 296.7 kB / 476.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1141, allocations: 62.67 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.1141, allocations: 16.86 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1142, allocations: 0 / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1143, allocations: 75.31 kB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1144, allocations: 4 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000507/0.1149, allocations: 173.2 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1149, allocations: 51.41 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1151, allocations: 203.3 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1151, allocations: 29.7 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1152, allocations: 104.1 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1152, allocations: 27.69 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.1153, allocations: 13.72 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1154, allocations: 326.8 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.1154, allocations: 19.98 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1155, allocations: 37.7 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1156, allocations: 57.66 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1156, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.1158, allocations: 101.6 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1158, allocations: 6.5 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1158, allocations: 0 / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1159, allocations: 0 / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.116, allocations: 31.86 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.116, allocations: 4.141 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.116, allocations: 3.938 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.116, allocations: 4 kB / 477.6 MB, free: 7.742 MB / 350.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 0.0001013/0.1161, allocations: 144.6 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1162, allocations: 11.81 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.1162, allocations: 17.34 kB / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1162, allocations: 4 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1162, allocations: 0 / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1163, allocations: 7.922 kB / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.1167, allocations: 391.3 kB / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1167, allocations: 0 / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.1167, allocations: 12.03 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1167, allocations: 3.938 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1167, allocations: 0 / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1168, allocations: 7.938 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1168, allocations: 0 / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.117, allocations: 204.2 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.117, allocations: 85.02 kB / 478.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1171, allocations: 11.94 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1171, allocations: 4 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1172, allocations: 7.984 kB / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1172, allocations: 4 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1173, allocations: 148.9 kB / 478.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1173, allocations: 0 / 478.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1176, allocations: 20 kB / 478.6 MB, free: 6.578 MB / 350.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.001324/0.1189, allocations: 1.105 MB / 479.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1191, allocations: 55.92 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1191, allocations: 0 / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.1192, allocations: 27.98 kB / 479.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1195, allocations: 36.16 kB / 479.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1211, allocations: 1.681 MB / 481.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1213, allocations: 0.7121 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1214, allocations: 8.891 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.1214, allocations: 39.41 kB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1214, allocations: 0 / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1343, allocations: 2.999 MB / 485.3 MB, free: 84 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.1345, allocations: 234.3 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.828, allocations: 0 / 485.5 MB, free: 15.83 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches