Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.0007819/0.000782, allocations: 100.1 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 186.7 kB / 16.92 MB, free: 6.688 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.545/1.545, allocations: 205.4 MB / 223.1 MB, free: 5.801 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.3663/0.3663, allocations: 43.58 MB / 315 MB, free: 8.938 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.0005428/0.0005428, allocations: 16 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.0023/0.1434, allocations: 1.441 MB / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1448, allocations: 0.773 MB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1449, allocations: 0 / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.1453, allocations: 103.8 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1455, allocations: 79.72 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1458, allocations: 83.84 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.146, allocations: 115.7 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1461, allocations: 15.98 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1463, allocations: 59.75 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1464, allocations: 59.77 kB / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1464, allocations: 4 kB / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1465, allocations: 39.97 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.1466, allocations: 23.92 kB / 446.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.1467, allocations: 73.31 kB / 446.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.147, allocations: 135.8 kB / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.147, allocations: 0 / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.147, allocations: 0 / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.147, allocations: 0 / 446.5 MB, free: 9.785 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005926/0.1476, allocations: 426.8 kB / 447 MB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1476, allocations: 16.02 kB / 447 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.1477, allocations: 38.69 kB / 447 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.1477, allocations: 16.75 kB / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.148, allocations: 227.6 kB / 447.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1481, allocations: 4.375 kB / 447.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1481, allocations: 7.938 kB / 447.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1483, allocations: 65.66 kB / 447.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1483, allocations: 4 kB / 447.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1483, allocations: 4 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1483, allocations: 0 / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1485, allocations: 35.91 kB / 447.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1489, allocations: 320.6 kB / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1491, allocations: 82.75 kB / 447.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.1492, allocations: 28.84 kB / 447.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1492, allocations: 0 / 447.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.1495, allocations: 67.39 kB / 447.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/0.1495, allocations: 4 kB / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006998/0.1502, allocations: 225.3 kB / 448.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1503, allocations: 63.34 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1505, allocations: 246.5 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1506, allocations: 25.7 kB / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.1507, allocations: 116 kB / 448.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.1507, allocations: 35.55 kB / 448.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1507, allocations: 13.72 kB / 448.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1509, allocations: 326.8 kB / 448.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.151, allocations: 35.98 kB / 448.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.1511, allocations: 49.7 kB / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1513, allocations: 81.64 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1513, allocations: 0 / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000256/0.1515, allocations: 141.4 kB / 449.2 MB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1515, allocations: 4 kB / 449.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1516, allocations: 0 / 449.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1516, allocations: 4.031 kB / 449.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1517, allocations: 23.98 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1517, allocations: 4.094 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.1518, allocations: 4 kB / 449.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1518, allocations: 11.98 kB / 449.2 MB, free: 6.832 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 (13): * Single equations (assignments): 13 * 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.000145/0.152, allocations: 145.4 kB / 449.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.152, allocations: 15.81 kB / 449.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.1521, allocations: 21.39 kB / 449.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1521, allocations: 0 / 449.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.1521, allocations: 7.938 kB / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1521, allocations: 0 / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.1527, allocations: 447.2 kB / 449.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.1527, allocations: 7.938 kB / 449.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.1528, allocations: 19.92 kB / 449.9 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1528, allocations: 0 / 449.9 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1528, allocations: 4 kB / 449.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1528, allocations: 8.031 kB / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1528, allocations: 0 / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1531, allocations: 232.3 kB / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.1532, allocations: 92.86 kB / 450.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1532, allocations: 4 kB / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1533, allocations: 7.984 kB / 450.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.1534, allocations: 15.94 kB / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1534, allocations: 7.984 kB / 450.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1536, allocations: 188.2 kB / 450.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 450.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1539, allocations: 24 kB / 450.5 MB, free: 5.504 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 (11): * Single equations (assignments): 9 * 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.001533/0.1554, allocations: 1.127 MB / 451.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1556, allocations: 83.84 kB / 451.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1557, allocations: 8 kB / 451.7 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1557, allocations: 39.98 kB / 451.7 MB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1561, allocations: 35.97 kB / 451.8 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.1583, allocations: 1.899 MB / 453.6 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1586, allocations: 0.7204 MB / 454.4 MB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.1587, allocations: 25.06 kB / 454.4 MB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.1588, allocations: 51.34 kB / 454.4 MB, free: 1.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1588, allocations: 0 / 454.4 MB, free: 1.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2714/0.4302, allocations: 3.445 MB / 457.9 MB, free: 46.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.4305, allocations: 241 kB / 458.1 MB, free: 46.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.338, allocations: 0 / 458.1 MB, free: 46.1 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches