Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.001141/0.001141, allocations: 100.5 kB / 15.98 MB, free: 6.352 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.001197/0.001197, allocations: 196.6 kB / 16.91 MB, free: 6.195 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.742/1.742, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.413/0.413, allocations: 43.5 MB / 313.6 MB, free: 8.477 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.001602/0.001602, allocations: 63.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004169/0.139, allocations: 1.753 MB / 441.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1406, allocations: 0.7884 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1408, allocations: 0 / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.1412, allocations: 39.89 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1416, allocations: 47.83 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.142, allocations: 79.83 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1422, allocations: 95.7 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1424, allocations: 12.22 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1425, allocations: 51.7 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.1426, allocations: 31.86 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1426, allocations: 0 / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1428, allocations: 47.97 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.1429, allocations: 19.92 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.1429, allocations: 31.75 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1432, allocations: 115.8 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1432, allocations: 0 / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1432, allocations: 0 / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1432, allocations: 0 / 443.2 MB, free: 11.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006469/0.1439, allocations: 414.9 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.144, allocations: 15.89 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.144, allocations: 34.75 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.1441, allocations: 8.844 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1443, allocations: 212 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1443, allocations: 4.359 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1444, allocations: 11.94 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1446, allocations: 57.55 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1446, allocations: 0 / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1446, allocations: 4 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1446, allocations: 8 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.1447, allocations: 19.98 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1451, allocations: 284.8 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1453, allocations: 62.55 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.1454, allocations: 28.84 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1454, allocations: 4 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.1456, allocations: 59.39 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1456, allocations: 0 / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006052/0.1463, allocations: 169.2 kB / 444.6 MB, free: 9.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1463, allocations: 55.39 kB / 444.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1465, allocations: 194.1 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1465, allocations: 25.7 kB / 444.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.1466, allocations: 100.1 kB / 444.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1466, allocations: 27.69 kB / 445 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.1467, allocations: 25.72 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1469, allocations: 322.8 kB / 445.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.1469, allocations: 19.98 kB / 445.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.147, allocations: 37.64 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1471, allocations: 57.72 kB / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1471, allocations: 0 / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1473, allocations: 105.5 kB / 445.5 MB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1474, allocations: 4 kB / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1474, allocations: 0 / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1474, allocations: 4 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.1475, allocations: 12 kB / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1475, allocations: 8.016 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1476, allocations: 7.938 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1476, allocations: 0 / 445.6 MB, free: 8.902 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 (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.0001202/0.1477, allocations: 129.8 kB / 445.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1478, allocations: 15.8 kB / 445.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.1478, allocations: 12.72 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1478, allocations: 0 / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1478, allocations: 4 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1478, allocations: 7.875 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1483, allocations: 391.5 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1483, allocations: 384 / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.1484, allocations: 11.98 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.1484, allocations: 11.94 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1484, allocations: 0 / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1484, allocations: 272 / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1484, allocations: 3.984 kB / 446.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1487, allocations: 208.2 kB / 446.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.1487, allocations: 85.02 kB / 446.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1488, allocations: 11.92 kB / 446.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.1488, allocations: 0 / 446.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1489, allocations: 8 kB / 446.4 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1489, allocations: 7.984 kB / 446.5 MB, free: 7.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.149, allocations: 140.1 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.149, allocations: 4 kB / 446.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1493, allocations: 31.89 kB / 446.6 MB, free: 7.738 MB / 382.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.001534/0.1508, allocations: 1.109 MB / 447.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.151, allocations: 63.91 kB / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1511, allocations: 0 / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.1511, allocations: 24 kB / 447.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1515, allocations: 35.95 kB / 447.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1533, allocations: 1.647 MB / 449.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1536, allocations: 0.708 MB / 450.2 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1536, allocations: 16.86 kB / 450.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.1537, allocations: 35.36 kB / 450.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1537, allocations: 0 / 450.3 MB, free: 3.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.168, allocations: 3.185 MB / 453.5 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.1683, allocations: 238.6 kB / 453.7 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/1.942, allocations: 0 / 453.7 MB, free: 0.5312 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches