Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.006518/0.006518, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001472/0.001472, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.377/1.377, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3844/0.3844, allocations: 43.5 MB / 313.5 MB, free: 8.586 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.00125/0.00125, allocations: 70.56 kB / 382.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003096/0.1358, allocations: 1.721 MB / 441.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.137, allocations: 0.7729 MB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.1371, allocations: 4 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1374, allocations: 51.86 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1376, allocations: 51.77 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1379, allocations: 75.83 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.138, allocations: 91.7 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.138, allocations: 11.98 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.1381, allocations: 39.78 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.1382, allocations: 31.84 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1382, allocations: 4 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.1383, allocations: 23.98 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1384, allocations: 27.86 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.1385, allocations: 39.67 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1386, allocations: 119.8 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1387, allocations: 0 / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1387, allocations: 4 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1387, allocations: 0 / 443 MB, free: 11.64 MB / 382.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.0005415/0.1392, allocations: 430.7 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1393, allocations: 8.031 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1393, allocations: 38.69 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1394, allocations: 12.83 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1396, allocations: 211.7 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1396, allocations: 8.375 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1397, allocations: 11.92 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1398, allocations: 45.69 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1398, allocations: 4 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1398, allocations: 3.938 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1398, allocations: 0 / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.1399, allocations: 15.98 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.1401, allocations: 185.7 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1403, allocations: 62.5 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.1404, allocations: 20.84 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1404, allocations: 7.984 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1406, allocations: 67.3 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1406, allocations: 0 / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000284/0.1409, allocations: 97.52 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.141, allocations: 55.41 kB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1412, allocations: 255.7 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1412, allocations: 25.7 kB / 444.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.1413, allocations: 112.1 kB / 444.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1414, allocations: 19.8 kB / 444.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1414, allocations: 17.72 kB / 444.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1416, allocations: 322.8 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.1416, allocations: 15.98 kB / 445 MB, free: 9.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.1417, allocations: 25.72 kB / 445 MB, free: 9.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.1418, allocations: 49.64 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/0.1418, allocations: 3.938 kB / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.142, allocations: 85.5 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.142, allocations: 4 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.142, allocations: 3.984 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.142, allocations: 4.031 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.1421, allocations: 15.94 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.1421, allocations: 0 / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.1421, allocations: 4.25 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1422, allocations: 8.141 kB / 445.2 MB, free: 9.184 MB / 382.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.000112/0.1423, allocations: 137.8 kB / 445.3 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1423, allocations: 11.81 kB / 445.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.1424, allocations: 24.98 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1424, allocations: 0 / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1424, allocations: 4 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1424, allocations: 0 / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1426, allocations: 201.5 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1426, allocations: 3.938 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.1426, allocations: 0 / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1426, allocations: 4 kB / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1426, allocations: 0 / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.1427, allocations: 7.969 kB / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1427, allocations: 0 / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1429, allocations: 120.8 kB / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1429, allocations: 85 kB / 445.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.143, allocations: 4 kB / 445.8 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.143, allocations: 4 kB / 445.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.143, allocations: 4 kB / 445.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1431, allocations: 3.984 kB / 445.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1432, allocations: 199 kB / 446 MB, free: 8.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1432, allocations: 0 / 446 MB, free: 8.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000206/0.1435, allocations: 16 kB / 446 MB, free: 8.27 MB / 382.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.00133/0.1448, allocations: 0.9587 MB / 447 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1449, allocations: 39.98 kB / 447 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.145, allocations: 0 / 447 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.145, allocations: 31.92 kB / 447 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1453, allocations: 27.86 kB / 447.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.147, allocations: 1.675 MB / 448.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1473, allocations: 0.7153 MB / 449.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.1473, allocations: 12.55 kB / 449.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.1474, allocations: 39.42 kB / 449.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1474, allocations: 0 / 449.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.1614, allocations: 3.163 MB / 452.7 MB, free: 1.484 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.1617, allocations: 234.4 kB / 452.9 MB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.892, allocations: 8 kB / 452.9 MB, free: 1.223 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches