Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.002059/0.002059, allocations: 103.4 kB / 15.98 MB, free: 6.332 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.001576/0.001576, allocations: 194.7 kB / 16.9 MB, free: 6.184 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.712/1.712, allocations: 205.1 MB / 222.8 MB, free: 4.727 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.322/0.322, allocations: 43.5 MB / 313.6 MB, free: 8.305 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.001457/0.001457, allocations: 67.91 kB / 382.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1297, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003327/0.1331, allocations: 1.904 MB / 442 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1345, allocations: 0.8781 MB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.1346, allocations: 4 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.1351, allocations: 247.4 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1355, allocations: 171.6 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1359, allocations: 143.7 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.1362, allocations: 247.3 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1363, allocations: 17.55 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1365, allocations: 127.5 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1367, allocations: 191.5 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1367, allocations: 8 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1369, allocations: 43.92 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.725e-05/0.137, allocations: 59.77 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1371, allocations: 87.34 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.1374, allocations: 223.4 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1374, allocations: 0 / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1374, allocations: 0 / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1374, allocations: 0 / 444.4 MB, free: 10.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008089/0.1382, allocations: 0.568 MB / 445 MB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1383, allocations: 11.89 kB / 445 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1383, allocations: 38.69 kB / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.1384, allocations: 28.56 kB / 445.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1387, allocations: 284 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1387, allocations: 8.375 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1388, allocations: 11.88 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.139, allocations: 103.3 kB / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.139, allocations: 4 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.139, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1391, allocations: 4 kB / 445.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1392, allocations: 39.97 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.1398, allocations: 460.8 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1401, allocations: 117.3 kB / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.1402, allocations: 37.7 kB / 446.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1402, allocations: 8 kB / 446.1 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.1405, allocations: 116.9 kB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.817e-06/0.1406, allocations: 0 / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009098/0.1415, allocations: 371.7 kB / 446.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1415, allocations: 85.05 kB / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.142, allocations: 481.7 kB / 447.2 MB, free: 7.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1421, allocations: 33.64 kB / 447.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1422, allocations: 168.3 kB / 447.4 MB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.1423, allocations: 47.42 kB / 447.4 MB, free: 6.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.1423, allocations: 29.72 kB / 447.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1425, allocations: 350.8 kB / 447.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1426, allocations: 35.98 kB / 447.8 MB, free: 6.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1427, allocations: 75.41 kB / 447.9 MB, free: 6.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1429, allocations: 119.5 kB / 448 MB, free: 6.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1429, allocations: 0 / 448 MB, free: 6.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003018/0.1432, allocations: 189.1 kB / 448.2 MB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1433, allocations: 8 kB / 448.2 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1433, allocations: 3.938 kB / 448.2 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1433, allocations: 0 / 448.2 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1434, allocations: 43.84 kB / 448.2 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1435, allocations: 0 / 448.2 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.1435, allocations: 12.69 kB / 448.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1436, allocations: 8 kB / 448.3 MB, free: 5.922 MB / 382.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.0001508/0.1437, allocations: 173.8 kB / 448.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1438, allocations: 31.62 kB / 448.5 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.1438, allocations: 42.8 kB / 448.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1439, allocations: 7.938 kB / 448.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1439, allocations: 0 / 448.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1439, allocations: 4 kB / 448.5 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.1446, allocations: 0.6281 MB / 449.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1446, allocations: 0 / 449.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.1447, allocations: 19.98 kB / 449.2 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1447, allocations: 0 / 449.2 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1447, allocations: 8 kB / 449.2 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1447, allocations: 4 kB / 449.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1447, allocations: 0 / 449.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.1451, allocations: 368.1 kB / 449.5 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1452, allocations: 100.7 kB / 449.6 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.1452, allocations: 11.98 kB / 449.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1454, allocations: 7.938 kB / 449.7 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1454, allocations: 19.97 kB / 449.7 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1454, allocations: 7.984 kB / 449.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003828/0.1458, allocations: 363.1 kB / 450 MB, free: 4.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 0 / 450 MB, free: 4.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1462, allocations: 39.98 kB / 450.1 MB, free: 3.992 MB / 382.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.001631/0.1478, allocations: 1.266 MB / 451.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1481, allocations: 123.8 kB / 451.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1481, allocations: 0 / 451.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1482, allocations: 63.89 kB / 451.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.1488, allocations: 65.12 kB / 451.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/0.3298, allocations: 2.805 MB / 454.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3301, allocations: 0.7705 MB / 455.2 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.3303, allocations: 33.55 kB / 455.2 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3304, allocations: 89.47 kB / 455.3 MB, free: 46.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3304, allocations: 0.5312 kB / 455.3 MB, free: 46.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.3456, allocations: 5.739 MB / 461 MB, free: 46.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.3458, allocations: 243.6 kB / 461.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.126, allocations: 0 / 461.3 MB, free: 46.15 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches