Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001479/0.001478, allocations: 105.7 kB / 15.98 MB, free: 6.34 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.001446/0.001446, allocations: 189.2 kB / 16.91 MB, free: 6.18 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.752/1.752, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.3794/0.3794, allocations: 43.49 MB / 313.6 MB, free: 8.52 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.001665/0.001665, allocations: 67.91 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003795/0.137, allocations: 2.054 MB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1385, allocations: 0.8779 MB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1386, allocations: 0 / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.139, allocations: 47.77 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1393, allocations: 51.75 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1396, allocations: 107.8 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1398, allocations: 203.4 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1399, allocations: 33.88 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1401, allocations: 87.62 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1402, allocations: 75.61 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1402, allocations: 16 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1403, allocations: 44 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.1404, allocations: 39.83 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.1405, allocations: 71.53 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1408, allocations: 195.4 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1408, allocations: 0 / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1408, allocations: 0 / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1408, allocations: 0 / 444 MB, free: 10.71 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001018/0.1418, allocations: 0.5565 MB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1419, allocations: 15.89 kB / 444.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.1419, allocations: 34.75 kB / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.142, allocations: 24.73 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1424, allocations: 248.7 kB / 444.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1424, allocations: 8.359 kB / 444.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1424, allocations: 11.94 kB / 444.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.1429, allocations: 155.4 kB / 445 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1429, allocations: 0 / 445 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1429, allocations: 0 / 445 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.143, allocations: 7.938 kB / 445.1 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.1434, allocations: 115.8 kB / 445.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.1441, allocations: 0.5399 MB / 445.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.1448, allocations: 166.6 kB / 445.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.145, allocations: 76.73 kB / 445.9 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1451, allocations: 3.938 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.1456, allocations: 139.3 kB / 446.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.1456, allocations: 0 / 446.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008516/0.1464, allocations: 265.2 kB / 446.3 MB, free: 8.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1465, allocations: 55.34 kB / 446.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1467, allocations: 223.1 kB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1467, allocations: 33.7 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.1468, allocations: 128.4 kB / 446.8 MB, free: 7.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1469, allocations: 23.62 kB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.1469, allocations: 37.7 kB / 446.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.147, allocations: 334.8 kB / 447.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1473, allocations: 67.89 kB / 447.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1476, allocations: 111.6 kB / 447.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.148, allocations: 197.8 kB / 447.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.148, allocations: 4 kB / 447.5 MB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006015/0.1486, allocations: 255 kB / 447.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.1487, allocations: 33.7 kB / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1487, allocations: 0 / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1487, allocations: 8.062 kB / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1489, allocations: 43.95 kB / 447.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1489, allocations: 3.938 kB / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1491, allocations: 23.83 kB / 447.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1491, allocations: 11.98 kB / 447.9 MB, free: 6.496 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001248/0.1493, allocations: 130.6 kB / 448 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1493, allocations: 15.81 kB / 448 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.1494, allocations: 25.39 kB / 448.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1494, allocations: 7.938 kB / 448.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1494, allocations: 0 / 448.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1494, allocations: 0 / 448.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1496, allocations: 237.5 kB / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1496, allocations: 0 / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1498, allocations: 31.84 kB / 448.3 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1498, allocations: 0 / 448.3 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1498, allocations: 4 kB / 448.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1498, allocations: 3.938 kB / 448.3 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1498, allocations: 8 kB / 448.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.1506, allocations: 301.1 kB / 448.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1507, allocations: 93.02 kB / 448.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1508, allocations: 4 kB / 448.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1509, allocations: 23.91 kB / 448.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.151, allocations: 19.97 kB / 448.8 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.151, allocations: 8 kB / 448.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1512, allocations: 172.5 kB / 449 MB, free: 5.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 3.938 kB / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1515, allocations: 32 kB / 449 MB, free: 5.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001998/0.1535, allocations: 1.145 MB / 450.1 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.1541, allocations: 219.1 kB / 450.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1541, allocations: 0 / 450.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.1544, allocations: 84.19 kB / 450.4 MB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1547, allocations: 63.78 kB / 450.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1577, allocations: 2.19 MB / 452.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.158, allocations: 0.7241 MB / 453.4 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1582, allocations: 21.55 kB / 453.4 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1583, allocations: 55.41 kB / 453.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1583, allocations: 0 / 453.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/0.3593, allocations: 4.65 MB / 458.1 MB, free: 48.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.3595, allocations: 237.1 kB / 458.4 MB, free: 48.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.182, allocations: 0 / 458.4 MB, free: 48.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches