Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.001334/0.001334, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001242/0.001242, allocations: 195.5 kB / 16.91 MB, free: 6.191 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.812/1.812, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.3542/0.3542, allocations: 43.5 MB / 313.6 MB, free: 8.574 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.001431/0.001432, allocations: 67.91 kB / 382.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1399, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003472/0.1434, allocations: 1.76 MB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1448, allocations: 0.7807 MB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.1449, allocations: 7.938 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.1452, allocations: 35.81 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1454, allocations: 55.83 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1457, allocations: 75.84 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1458, allocations: 95.7 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1459, allocations: 16.2 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.146, allocations: 39.78 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.1461, allocations: 31.86 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1461, allocations: 4 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.1462, allocations: 51.91 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.1463, allocations: 23.92 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.1463, allocations: 31.75 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1465, allocations: 111.9 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1465, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1466, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1466, allocations: 0 / 443.2 MB, free: 11.48 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.0006409/0.1472, allocations: 418.9 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1473, allocations: 11.89 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.1473, allocations: 42.67 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1474, allocations: 12.84 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1477, allocations: 212.7 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1477, allocations: 4.359 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1477, allocations: 7.938 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1479, allocations: 53.67 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1479, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1479, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.148, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.148, allocations: 23.98 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1485, allocations: 292.8 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1487, allocations: 54.67 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1488, allocations: 16.86 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1488, allocations: 0 / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.149, allocations: 75.33 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.149, allocations: 0 / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.1496, allocations: 177.1 kB / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1496, allocations: 55.39 kB / 444.7 MB, free: 9.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1498, allocations: 199.3 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1498, allocations: 29.7 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1499, allocations: 104 kB / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1499, allocations: 23.73 kB / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.15, allocations: 29.72 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1501, allocations: 322.8 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.1502, allocations: 23.92 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.1503, allocations: 37.64 kB / 445.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1504, allocations: 57.66 kB / 445.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1504, allocations: 8 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002429/0.1506, allocations: 101.5 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1507, allocations: 4 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1507, allocations: 4 kB / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1507, allocations: 0 / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.1508, allocations: 19.92 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1508, allocations: 160 / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.1508, allocations: 7.938 kB / 445.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1509, allocations: 7.984 kB / 445.6 MB, free: 8.848 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.0001033/0.151, allocations: 133.8 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.1511, allocations: 11.81 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.1511, allocations: 17.41 kB / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1511, allocations: 0 / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1511, allocations: 0 / 445.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1511, allocations: 3.938 kB / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.1516, allocations: 395.3 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1516, allocations: 4.031 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1517, allocations: 8.375 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1517, allocations: 3.938 kB / 446.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1517, allocations: 8 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1517, allocations: 3.938 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1517, allocations: 0 / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1519, allocations: 200.3 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.152, allocations: 96.91 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.152, allocations: 3.938 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1521, allocations: 8 kB / 446.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1521, allocations: 7.984 kB / 446.5 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1522, allocations: 4 kB / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1523, allocations: 152.9 kB / 446.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1523, allocations: 4 kB / 446.7 MB, free: 7.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1525, allocations: 24 kB / 446.7 MB, free: 7.672 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.001478/0.154, allocations: 1.106 MB / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1542, allocations: 55.92 kB / 447.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1542, allocations: 0 / 447.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.1543, allocations: 31.92 kB / 447.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1546, allocations: 32.09 kB / 447.9 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1563, allocations: 1.69 MB / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1566, allocations: 0.708 MB / 450.3 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.1567, allocations: 12.88 kB / 450.3 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.1568, allocations: 35.42 kB / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1568, allocations: 0 / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.171, allocations: 3.251 MB / 453.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.1713, allocations: 238.7 kB / 453.8 MB, free: 376 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.952, allocations: 3.938 kB / 453.8 MB, free: 372 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches