Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.00145/0.00145, allocations: 104.1 kB / 17.21 MB, free: 6.27 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.001464/0.001464, allocations: 190 kB / 18.12 MB, free: 5.363 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.53/1.53, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2582/0.2582, allocations: 44.17 MB / 336.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.91 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1227, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003205/0.1259, allocations: 1.718 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1275, allocations: 0.8342 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.1276, allocations: 7.938 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1279, allocations: 63.8 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1282, allocations: 51.81 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.1285, allocations: 107.7 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1287, allocations: 87.7 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.1288, allocations: 7.984 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1289, allocations: 43.77 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.129, allocations: 43.84 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1291, allocations: 4 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1292, allocations: 23.98 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.1293, allocations: 23.91 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.1293, allocations: 27.75 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1295, allocations: 99.92 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1296, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1296, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1296, allocations: 4 kB / 471.8 MB, free: 11.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006378/0.1302, allocations: 399.1 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.1303, allocations: 12.03 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1303, allocations: 34.75 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1304, allocations: 8.844 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1307, allocations: 204.1 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1307, allocations: 8.25 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1307, allocations: 3.938 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1308, allocations: 49.67 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1309, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1309, allocations: 4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1309, allocations: 4 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.131, allocations: 11.98 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1312, allocations: 181.6 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1314, allocations: 58.5 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.1315, allocations: 20.84 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1315, allocations: 4 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.1318, allocations: 71.39 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.043e-06/0.1318, allocations: 0 / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000323/0.1321, allocations: 89.58 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1322, allocations: 63.34 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1325, allocations: 186.1 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1325, allocations: 25.7 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.1326, allocations: 108.1 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1326, allocations: 15.8 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1327, allocations: 17.72 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1328, allocations: 322.8 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.1329, allocations: 15.98 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.133, allocations: 37.62 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.1331, allocations: 45.72 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1331, allocations: 3.938 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.1333, allocations: 81.52 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1333, allocations: 8 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.1333, allocations: 0 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1333, allocations: 0 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.1334, allocations: 8 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1334, allocations: 3.938 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.1335, allocations: 7.984 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1335, allocations: 8.031 kB / 473.8 MB, free: 9.27 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 (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 0.0001069/0.1336, allocations: 124.9 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1336, allocations: 11.81 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1337, allocations: 16.3 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1337, allocations: 3.938 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1337, allocations: 0 / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1337, allocations: 0 / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1339, allocations: 193.8 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1339, allocations: 0 / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.1339, allocations: 12 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1339, allocations: 0 / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.134, allocations: 3.984 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.134, allocations: 4 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.134, allocations: 0 / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1342, allocations: 112.9 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1342, allocations: 81.02 kB / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1343, allocations: 4 kB / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.1343, allocations: 4 kB / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1344, allocations: 11.98 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1344, allocations: 0 / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1345, allocations: 135.2 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1345, allocations: 4 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1348, allocations: 19.98 kB / 474.6 MB, free: 8.445 MB / 350.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.001538/0.1363, allocations: 0.9559 MB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1365, allocations: 35.98 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1365, allocations: 0 / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.1366, allocations: 16 kB / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1369, allocations: 29.8 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1385, allocations: 1.494 MB / 477.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1389, allocations: 0.6965 MB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.1389, allocations: 16.55 kB / 477.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.139, allocations: 31.42 kB / 477.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.139, allocations: 3.938 kB / 477.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.1904, allocations: 2.834 MB / 480.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.1907, allocations: 232.4 kB / 480.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.124, allocations: 0 / 480.9 MB, free: 2.195 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches