Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.0007708/0.0007709, allocations: 91.17 kB / 17.35 MB, free: 6.031 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.0008979/0.0008979, allocations: 174.5 kB / 18.26 MB, free: 5.391 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.345/1.345, allocations: 223.2 MB / 242.3 MB, free: 192 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.1904/0.1904, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001781/0.1133, allocations: 1.421 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1145, allocations: 0.846 MB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.1146, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1148, allocations: 35.91 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.115, allocations: 51.75 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1152, allocations: 87.83 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1154, allocations: 91.7 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.1155, allocations: 8.234 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.1155, allocations: 39.78 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.1156, allocations: 35.78 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1156, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.1157, allocations: 39.98 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.1158, allocations: 23.91 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.1158, allocations: 53.45 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.116, allocations: 115.9 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.116, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.116, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.116, allocations: 4 kB / 475.2 MB, free: 10.38 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.0004216/0.1164, allocations: 391.1 kB / 475.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1165, allocations: 8.031 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.1165, allocations: 34.75 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1166, allocations: 16.75 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1167, allocations: 200.1 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1168, allocations: 8.375 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1168, allocations: 3.938 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1169, allocations: 65.61 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1169, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.117, allocations: 4 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.117, allocations: 0 / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.369e-05/0.117, allocations: 19.92 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.1173, allocations: 288.9 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1175, allocations: 62.67 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.1176, allocations: 24.84 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1176, allocations: 0 / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.1177, allocations: 71.27 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1177, allocations: 0 / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004572/0.1182, allocations: 165.2 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1183, allocations: 63.39 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1184, allocations: 186.1 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1184, allocations: 25.7 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.1185, allocations: 108.1 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1185, allocations: 23.7 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.1186, allocations: 13.72 kB / 476.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1187, allocations: 322.8 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.1187, allocations: 20 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.716e-05/0.1188, allocations: 37.7 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1189, allocations: 69.62 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1189, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001653/0.1191, allocations: 101.4 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1191, allocations: 4 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1191, allocations: 4 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1191, allocations: 4.031 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.1192, allocations: 12 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1192, allocations: 0 / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.1193, allocations: 11.92 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1193, allocations: 11.98 kB / 477.5 MB, free: 7.805 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 9.08e-05/0.1194, allocations: 117.8 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1194, allocations: 7.906 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.1195, allocations: 20.7 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1195, allocations: 4 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1195, allocations: 0 / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1195, allocations: 4.125 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.1199, allocations: 395.5 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1199, allocations: 4.312 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.12, allocations: 15.92 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.12, allocations: 3.938 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.12, allocations: 4 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.12, allocations: 8.031 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.12, allocations: 0 / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1202, allocations: 200.2 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.1203, allocations: 96.94 kB / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1203, allocations: 3.938 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1204, allocations: 4 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1204, allocations: 11.98 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1204, allocations: 0 / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1205, allocations: 151.1 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1205, allocations: 0 / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1208, allocations: 27.98 kB / 478.6 MB, free: 6.637 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.001338/0.1221, allocations: 1.096 MB / 479.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1223, allocations: 55.91 kB / 479.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1223, allocations: 4.062 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.1224, allocations: 35.92 kB / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1227, allocations: 23.98 kB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1242, allocations: 1.646 MB / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1245, allocations: 0.7004 MB / 482.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.1245, allocations: 16.86 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.1246, allocations: 39.42 kB / 482.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1246, allocations: 0 / 482.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.1362, allocations: 2.945 MB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.1364, allocations: 238.8 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.889, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches