Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.0009624/0.0009625, allocations: 109.2 kB / 15.98 MB, free: 5.898 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.001055/0.001055, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.671/1.671, allocations: 205.1 MB / 222.8 MB, free: 4.48 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.3768/0.3768, allocations: 43.5 MB / 313.6 MB, free: 8.695 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: 68.47 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.128, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003795/0.1318, allocations: 1.756 MB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1333, allocations: 0.7885 MB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1334, allocations: 0 / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.1338, allocations: 83.7 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1342, allocations: 75.78 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1345, allocations: 67.86 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1347, allocations: 115.7 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1348, allocations: 12.22 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1349, allocations: 51.77 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.135, allocations: 55.81 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1351, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1352, allocations: 43.92 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1353, allocations: 19.92 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.1353, allocations: 43.73 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1356, allocations: 123.8 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1356, allocations: 0 / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1356, allocations: 0 / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1356, allocations: 0 / 443.3 MB, free: 11.37 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.0005818/0.1362, allocations: 418.9 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1362, allocations: 11.89 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1363, allocations: 30.75 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1363, allocations: 16.75 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1366, allocations: 216.8 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1366, allocations: 384 / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1367, allocations: 7.938 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1368, allocations: 53.67 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1369, allocations: 3.984 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1369, allocations: 0 / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1369, allocations: 3.938 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.137, allocations: 19.98 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1374, allocations: 304.7 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1376, allocations: 50.67 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.1376, allocations: 24.84 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1377, allocations: 0 / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1379, allocations: 71.33 kB / 444.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1379, allocations: 0 / 444.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.1384, allocations: 177.2 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1385, allocations: 55.34 kB / 444.8 MB, free: 9.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1387, allocations: 214.3 kB / 445 MB, free: 9.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1387, allocations: 25.7 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.1388, allocations: 108.1 kB / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1388, allocations: 23.66 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1388, allocations: 29.7 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.139, allocations: 322.8 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.139, allocations: 19.98 kB / 445.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.1391, allocations: 41.64 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1392, allocations: 61.72 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1392, allocations: 0 / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1394, allocations: 109.8 kB / 445.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1394, allocations: 4 kB / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1394, allocations: 0 / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1395, allocations: 0 / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.1396, allocations: 27.94 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1396, allocations: 3.984 kB / 445.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1396, allocations: 3.938 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1396, allocations: 4 kB / 445.8 MB, free: 8.707 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 9.695e-05/0.1397, allocations: 133.9 kB / 445.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1398, allocations: 7.906 kB / 445.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1398, allocations: 17.41 kB / 445.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1398, allocations: 0 / 445.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1398, allocations: 0 / 445.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1398, allocations: 3.938 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.1402, allocations: 399.2 kB / 446.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1402, allocations: 4 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.1403, allocations: 11.97 kB / 446.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1403, allocations: 7.938 kB / 446.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1403, allocations: 0 / 446.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1403, allocations: 0 / 446.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1403, allocations: 7.938 kB / 446.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1405, allocations: 200.3 kB / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1406, allocations: 84.92 kB / 446.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1406, allocations: 11.94 kB / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.1407, allocations: 4 kB / 446.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1407, allocations: 7.984 kB / 446.6 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1408, allocations: 4 kB / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1409, allocations: 156.2 kB / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1409, allocations: 0 / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1412, allocations: 27.98 kB / 446.8 MB, free: 7.531 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.001512/0.1427, allocations: 1.114 MB / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1429, allocations: 63.83 kB / 448 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1429, allocations: 0 / 448 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.143, allocations: 31.94 kB / 448 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1433, allocations: 35.81 kB / 448.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.145, allocations: 1.714 MB / 449.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1453, allocations: 0.708 MB / 450.5 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1453, allocations: 12.86 kB / 450.5 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1454, allocations: 35.42 kB / 450.5 MB, free: 3.723 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1454, allocations: 0 / 450.5 MB, free: 3.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.1584, allocations: 3.295 MB / 453.8 MB, free: 416 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1586, allocations: 238.7 kB / 454.1 MB, free: 152 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.909, allocations: 3.938 kB / 454.1 MB, free: 148 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches