Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001515/0.001515, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001524/0.001524, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.495/1.495, 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.2278/0.2278, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001534/0.001534, allocations: 72.64 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003845/0.1218, allocations: 1.829 MB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1235, allocations: 0.8935 MB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.1237, allocations: 3.938 kB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.1241, allocations: 163.5 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.1244, allocations: 131.5 kB / 443.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.1249, allocations: 155.3 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1251, allocations: 207.4 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1253, allocations: 25.44 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1254, allocations: 99.66 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1256, allocations: 127.5 kB / 444.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1256, allocations: 12 kB / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1257, allocations: 43.98 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.1258, allocations: 43.83 kB / 444.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.1259, allocations: 79.42 kB / 444.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1262, allocations: 187.4 kB / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1262, allocations: 0 / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1263, allocations: 0 / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1263, allocations: 0 / 444.6 MB, free: 2.801 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006627/0.1269, allocations: 0.5137 MB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.127, allocations: 15.89 kB / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.127, allocations: 34.73 kB / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.1271, allocations: 24.66 kB / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1274, allocations: 271.5 kB / 445.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1274, allocations: 4.375 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1274, allocations: 15.91 kB / 445.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1276, allocations: 95.36 kB / 445.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1276, allocations: 4 kB / 445.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1277, allocations: 0 / 445.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1277, allocations: 4 kB / 445.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1278, allocations: 39.91 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1282, allocations: 440.9 kB / 446.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1284, allocations: 113.3 kB / 446.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.1285, allocations: 49.69 kB / 446.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1286, allocations: 3.938 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.1288, allocations: 117 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1288, allocations: 0 / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007715/0.1296, allocations: 364 kB / 446.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1297, allocations: 81.05 kB / 446.8 MB, free: 420 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1299, allocations: 351 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.13, allocations: 37.7 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1301, allocations: 140.4 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.1301, allocations: 47.36 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.1302, allocations: 33.7 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1304, allocations: 338.8 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.882e-05/0.1305, allocations: 39.94 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1307, allocations: 76.61 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.1309, allocations: 123.5 kB / 447.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1309, allocations: 0 / 447.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003115/0.1312, allocations: 181.2 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1312, allocations: 8 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1313, allocations: 4.062 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1313, allocations: 0 / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1314, allocations: 35.92 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1314, allocations: 3.984 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.1315, allocations: 7.938 kB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1315, allocations: 12 kB / 448.2 MB, free: 14.94 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001321/0.1317, allocations: 157.7 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1317, allocations: 23.62 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.1318, allocations: 38.48 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1318, allocations: 3.938 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1318, allocations: 0 / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1318, allocations: 0 / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.1325, allocations: 0.6086 MB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1325, allocations: 0 / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.1326, allocations: 28.05 kB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1326, allocations: 4 kB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1326, allocations: 3.938 kB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1326, allocations: 7.938 kB / 449 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1326, allocations: 320 / 449 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.133, allocations: 364.1 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.1331, allocations: 96.81 kB / 449.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.1331, allocations: 11.98 kB / 449.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1333, allocations: 8 kB / 449.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.1333, allocations: 11.98 kB / 449.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1333, allocations: 11.92 kB / 449.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.1336, allocations: 265.9 kB / 449.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1336, allocations: 0 / 449.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003396/0.1339, allocations: 47.98 kB / 449.8 MB, free: 13.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001647/0.1356, allocations: 1.25 MB / 451.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1359, allocations: 119.9 kB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1359, allocations: 0 / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.136, allocations: 71.91 kB / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.1366, allocations: 58.88 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.1398, allocations: 2.443 MB / 453.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1402, allocations: 0.7553 MB / 454.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1403, allocations: 33.91 kB / 454.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1404, allocations: 79.41 kB / 454.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1404, allocations: 0 / 454.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.168, allocations: 5.308 MB / 460 MB, free: 2.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.765, allocations: 11.91 kB / 460 MB, free: 2.922 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches