Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.0008737/0.0008737, allocations: 94.48 kB / 17.35 MB, free: 6.375 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.0008491/0.0008492, allocations: 179.5 kB / 18.26 MB, free: 5.52 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.287/1.287, allocations: 223.3 MB / 242.3 MB, free: 204 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.1891/0.1891, allocations: 44.26 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002398/0.1264, allocations: 1.421 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1281, allocations: 0.8343 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1282, allocations: 4 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.1286, allocations: 75.83 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1289, allocations: 75.78 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1293, allocations: 99.08 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.1295, allocations: 99.69 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1296, allocations: 16.22 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1297, allocations: 43.78 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1299, allocations: 55.81 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1299, allocations: 3.938 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1301, allocations: 43.92 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.1301, allocations: 31.91 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.1302, allocations: 57.45 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1305, allocations: 111.9 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1305, allocations: 0 / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1305, allocations: 3.938 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1305, allocations: 0 / 475.3 MB, free: 10.26 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.0005942/0.1311, allocations: 403.1 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1311, allocations: 8.031 kB / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1312, allocations: 38.69 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1312, allocations: 8.844 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1315, allocations: 212 kB / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1315, allocations: 4.375 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1316, allocations: 3.938 kB / 476 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1317, allocations: 53.67 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1317, allocations: 4 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1318, allocations: 0 / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1318, allocations: 0 / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.1319, allocations: 23.92 kB / 476.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1322, allocations: 288.9 kB / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1324, allocations: 58.67 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1325, allocations: 20.84 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1325, allocations: 4 kB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1327, allocations: 71.33 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1327, allocations: 0 / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.1333, allocations: 181.1 kB / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1333, allocations: 59.34 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1335, allocations: 219.1 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1335, allocations: 25.7 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.1336, allocations: 112.1 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1336, allocations: 23.66 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1337, allocations: 17.7 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.1338, allocations: 322.8 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.1338, allocations: 20 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.1339, allocations: 33.7 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.134, allocations: 65.62 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.134, allocations: 4.188 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1342, allocations: 97.66 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1342, allocations: 11.94 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1343, allocations: 80 / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1343, allocations: 0 / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.1344, allocations: 15.94 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.1344, allocations: 7.984 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.1344, allocations: 7.922 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1345, allocations: 4 kB / 477.7 MB, free: 7.633 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.874e-05/0.1346, allocations: 133.9 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1346, allocations: 15.8 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.1346, allocations: 17.41 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1346, allocations: 0 / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1347, allocations: 0 / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1347, allocations: 3.938 kB / 477.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1351, allocations: 399.3 kB / 478.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1351, allocations: 0 / 478.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1351, allocations: 8 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1351, allocations: 3.938 kB / 478.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1352, allocations: 11.94 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1352, allocations: 0 / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1352, allocations: 0 / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1354, allocations: 200.2 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1354, allocations: 93 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1355, allocations: 7.938 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.1355, allocations: 0 / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1356, allocations: 11.92 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1356, allocations: 8 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1357, allocations: 155.2 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1357, allocations: 0 / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.136, allocations: 27.98 kB / 478.8 MB, free: 6.453 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.001364/0.1374, allocations: 1.106 MB / 479.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1376, allocations: 59.91 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1376, allocations: 0 / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.1376, allocations: 28.09 kB / 480 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.138, allocations: 32.11 kB / 480 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1396, allocations: 1.706 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1399, allocations: 0.7083 MB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.14, allocations: 16.48 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.14, allocations: 35.42 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.14, allocations: 0 / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.1533, allocations: 3.056 MB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.1535, allocations: 236.3 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.914, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches