Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.001235/0.001235, allocations: 109.8 kB / 17.33 MB, free: 6.023 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.001218/0.001218, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.509/1.509, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2305/0.2305, allocations: 44.17 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.28 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004028/0.1374, allocations: 1.761 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1394, allocations: 0.8614 MB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1397, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.1403, allocations: 35.89 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.1408, allocations: 47.83 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1413, allocations: 95.77 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1415, allocations: 95.7 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1417, allocations: 16.22 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1419, allocations: 43.78 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.142, allocations: 31.8 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.142, allocations: 4 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1422, allocations: 43.97 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.1423, allocations: 19.92 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1424, allocations: 35.73 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.1427, allocations: 111.9 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.1428, allocations: 4 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.1428, allocations: 3.984 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1428, allocations: 4 kB / 472 MB, free: 11.38 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.0008196/0.1436, allocations: 410.9 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.1437, allocations: 19.91 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.1437, allocations: 38.73 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1438, allocations: 8.844 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1441, allocations: 212.8 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1441, allocations: 384 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1442, allocations: 11.94 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1444, allocations: 53.67 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1444, allocations: 4 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1444, allocations: 0 / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1444, allocations: 3.984 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.1445, allocations: 23.92 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1449, allocations: 288.8 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1451, allocations: 58.67 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1452, allocations: 20.86 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1452, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1455, allocations: 71.33 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.1455, allocations: 0 / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000673/0.1462, allocations: 185.1 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.1463, allocations: 55.41 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1465, allocations: 199.3 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1465, allocations: 25.7 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.1466, allocations: 108.1 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.1467, allocations: 19.7 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.1468, allocations: 21.72 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1469, allocations: 322.8 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.147, allocations: 27.98 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.1471, allocations: 33.7 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1472, allocations: 57.73 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1472, allocations: 0 / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002207/0.1475, allocations: 105.5 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.1475, allocations: 8 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1475, allocations: 3.938 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1475, allocations: 4.031 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1477, allocations: 15.98 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1477, allocations: 7.938 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.1477, allocations: 3.938 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1478, allocations: 8.188 kB / 474.4 MB, free: 8.742 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 0.0001277/0.1479, allocations: 128.9 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1479, allocations: 15.84 kB / 474.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.148, allocations: 13.41 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.148, allocations: 4 kB / 474.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.148, allocations: 4 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.148, allocations: 3.938 kB / 474.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1485, allocations: 391.3 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1485, allocations: 4 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.1486, allocations: 11.94 kB / 475 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.1486, allocations: 3.938 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1486, allocations: 4 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1486, allocations: 4.406 kB / 475 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1486, allocations: 4 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1489, allocations: 204.2 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1489, allocations: 81.02 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.149, allocations: 15.94 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.149, allocations: 0 / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1491, allocations: 11.98 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1491, allocations: 4 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1492, allocations: 152.9 kB / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1492, allocations: 3.938 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1495, allocations: 20 kB / 475.5 MB, free: 7.578 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.00163/0.1512, allocations: 1.092 MB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1514, allocations: 67.91 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1514, allocations: 4.062 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.1515, allocations: 35.86 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1518, allocations: 30.47 kB / 476.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1537, allocations: 1.667 MB / 478.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.154, allocations: 0.708 MB / 479.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.1541, allocations: 20.86 kB / 479.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1541, allocations: 35.42 kB / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1542, allocations: 0 / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.1673, allocations: 3.264 MB / 482.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.1675, allocations: 239.2 kB / 482.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.984, allocations: 3.938 kB / 482.6 MB, free: 0.5469 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches