Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001546/0.001546, allocations: 106.4 kB / 16.27 MB, free: 5.973 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.001271/0.001271, allocations: 191.9 kB / 17.2 MB, free: 5.605 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.547/1.547, 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.2235/0.2235, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001935/0.001935, allocations: 72.23 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 57.8 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002922/0.1163, allocations: 1.689 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1174, allocations: 0.8 MB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.1176, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1179, allocations: 47.75 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1182, allocations: 63.73 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1184, allocations: 83.72 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1186, allocations: 119.7 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.1187, allocations: 16.17 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.1188, allocations: 51.78 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.1189, allocations: 39.83 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1189, allocations: 4 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1191, allocations: 43.98 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.1191, allocations: 31.91 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.1192, allocations: 39.67 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1194, allocations: 123.6 kB / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1194, allocations: 4 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1195, allocations: 0 / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1195, allocations: 0 / 443.8 MB, free: 3.613 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.0004752/0.1199, allocations: 414.9 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.12, allocations: 15.89 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.12, allocations: 34.75 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1201, allocations: 12.75 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1203, allocations: 222.2 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1203, allocations: 4.375 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1203, allocations: 15.88 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1205, allocations: 69.59 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1205, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1205, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1205, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.1206, allocations: 43.97 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.1209, allocations: 312.7 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1211, allocations: 86.61 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.1212, allocations: 28.84 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1212, allocations: 0 / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.1214, allocations: 71.39 kB / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1214, allocations: 0 / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005777/0.122, allocations: 233.2 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.1221, allocations: 55.34 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1222, allocations: 191.3 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1222, allocations: 25.7 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.1223, allocations: 108.1 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1223, allocations: 31.55 kB / 445.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.1223, allocations: 25.72 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.1224, allocations: 326.8 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1225, allocations: 27.98 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.1225, allocations: 41.7 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1227, allocations: 85.64 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1227, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001877/0.1229, allocations: 121.5 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1229, allocations: 12.03 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1229, allocations: 0 / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1229, allocations: 0 / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.123, allocations: 24.17 kB / 446.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.123, allocations: 7.938 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1231, allocations: 7.875 kB / 446.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1231, allocations: 7.984 kB / 446.4 MB, free: 0.7617 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 (12): * Single equations (assignments): 12 * 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 7.15e-05/0.1232, allocations: 129.7 kB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1232, allocations: 19.8 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1233, allocations: 21.39 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1233, allocations: 4 kB / 446.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1233, allocations: 3.938 kB / 446.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1233, allocations: 0 / 446.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.1236, allocations: 427.3 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1237, allocations: 4 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.1237, allocations: 15.92 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1237, allocations: 7.938 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1237, allocations: 4.031 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1237, allocations: 0 / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1237, allocations: 4 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.124, allocations: 228.1 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1241, allocations: 88.95 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1241, allocations: 4 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1242, allocations: 4 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1243, allocations: 11.98 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1243, allocations: 4 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1244, allocations: 139.9 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1244, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1247, allocations: 28 kB / 447.5 MB, free: 15.53 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 (10): * Single equations (assignments): 8 * 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.001478/0.1262, allocations: 1.131 MB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1264, allocations: 83.84 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1264, allocations: 0 / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.1265, allocations: 39.98 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1269, allocations: 41.92 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1287, allocations: 1.728 MB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.129, allocations: 0.7045 MB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.214e-05/0.129, allocations: 25.06 kB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.1291, allocations: 43.42 kB / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1291, allocations: 0 / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.1521, allocations: 3.569 MB / 454.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.656, allocations: 15.94 kB / 454.9 MB, free: 8.082 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches