Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.001263/0.001263, allocations: 108.9 kB / 15.98 MB, free: 5.867 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.001495/0.001495, allocations: 191.4 kB / 16.91 MB, free: 5.734 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.556/1.556, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3851/0.3851, allocations: 43.49 MB / 313.6 MB, free: 8.352 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.001585/0.001585, allocations: 59.91 kB / 382.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1429, allocations: 57.78 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.004259/0.1472, allocations: 1.725 MB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1487, allocations: 0.7729 MB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1489, allocations: 3.938 kB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1493, allocations: 55.86 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1496, allocations: 55.8 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.1499, allocations: 75.86 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1502, allocations: 103.7 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.1503, allocations: 7.984 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1504, allocations: 43.78 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1505, allocations: 51.77 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1505, allocations: 4 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1507, allocations: 35.98 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.1508, allocations: 23.91 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.1508, allocations: 27.81 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1511, allocations: 91.94 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1511, allocations: 0 / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1511, allocations: 0 / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1511, allocations: 3.938 kB / 443.2 MB, free: 11.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006402/0.1518, allocations: 418.9 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1518, allocations: 15.89 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1519, allocations: 30.75 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.1519, allocations: 8.844 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1522, allocations: 208 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1522, allocations: 8.312 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1522, allocations: 3.938 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1524, allocations: 53.66 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1524, allocations: 0 / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1525, allocations: 4 kB / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1525, allocations: 0 / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.1525, allocations: 19.92 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1528, allocations: 177.7 kB / 444.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.153, allocations: 50.56 kB / 444.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.153, allocations: 20.84 kB / 444.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1531, allocations: 8 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1533, allocations: 63.39 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1533, allocations: 3.938 kB / 444.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000315/0.1537, allocations: 89.58 kB / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1537, allocations: 51.41 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1539, allocations: 190.1 kB / 444.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1539, allocations: 25.7 kB / 444.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.154, allocations: 104.1 kB / 444.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1541, allocations: 11.91 kB / 444.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.1541, allocations: 17.72 kB / 444.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1542, allocations: 322.8 kB / 445 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.1543, allocations: 15.98 kB / 445.1 MB, free: 9.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/0.1544, allocations: 25.7 kB / 445.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1545, allocations: 57.89 kB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1545, allocations: 3.938 kB / 445.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000161/0.1546, allocations: 77.53 kB / 445.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1547, allocations: 4 kB / 445.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1547, allocations: 4 kB / 445.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1547, allocations: 3.984 kB / 445.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.1548, allocations: 8 kB / 445.2 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1548, allocations: 0 / 445.2 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.1549, allocations: 15.94 kB / 445.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1549, allocations: 0 / 445.3 MB, free: 8.984 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 (7): * Single equations (assignments): 7 * 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.0001241/0.155, allocations: 133.7 kB / 445.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.155, allocations: 7.906 kB / 445.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.1551, allocations: 12.31 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1551, allocations: 7.875 kB / 445.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1551, allocations: 3.984 kB / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1551, allocations: 0 / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1553, allocations: 185.6 kB / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1553, allocations: 4 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.1553, allocations: 7.938 kB / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1554, allocations: 0 / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1554, allocations: 0 / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1554, allocations: 0 / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1554, allocations: 4 kB / 445.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1556, allocations: 109 kB / 445.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.1556, allocations: 84.92 kB / 445.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1557, allocations: 11.98 kB / 445.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.1557, allocations: 0 / 445.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1558, allocations: 4.125 kB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1558, allocations: 4 kB / 445.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1559, allocations: 144 kB / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1559, allocations: 0 / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.1561, allocations: 20 kB / 446 MB, free: 8.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001499/0.1576, allocations: 0.9583 MB / 446.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1578, allocations: 47.91 kB / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1579, allocations: 0 / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.641e-05/0.1579, allocations: 16.12 kB / 447 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1582, allocations: 35.95 kB / 447 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.16, allocations: 1.489 MB / 448.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1602, allocations: 0.7002 MB / 449.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.1603, allocations: 16.53 kB / 449.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.1604, allocations: 35.42 kB / 449.3 MB, free: 4.762 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1604, allocations: 0 / 449.3 MB, free: 4.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.1752, allocations: 2.885 MB / 452.2 MB, free: 1.859 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.1754, allocations: 234.8 kB / 452.4 MB, free: 1.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.971, allocations: 0 / 452.4 MB, free: 1.605 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches