Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.001034/0.001034, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009702/0.0009699, allocations: 181.5 kB / 16.91 MB, free: 6.914 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.46/1.46, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3389/0.3389, allocations: 43.57 MB / 315 MB, free: 9.035 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.0005482/0.0005484, allocations: 12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002383/0.1305, allocations: 1.41 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1323, allocations: 0.7769 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.1324, allocations: 3.938 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1327, allocations: 39.83 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1329, allocations: 43.83 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1332, allocations: 75.78 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1334, allocations: 87.77 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1335, allocations: 16.2 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.1336, allocations: 35.8 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.1337, allocations: 31.84 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1337, allocations: 0 / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1338, allocations: 39.98 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.1339, allocations: 27.84 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.134, allocations: 57.44 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1342, allocations: 107.9 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1342, allocations: 8 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1342, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1342, allocations: 0 / 446.3 MB, free: 10.04 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.0006827/0.1349, allocations: 391.1 kB / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1349, allocations: 12.02 kB / 446.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.135, allocations: 38.75 kB / 446.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.135, allocations: 8.844 kB / 446.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1353, allocations: 215.9 kB / 447 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1353, allocations: 8.375 kB / 447 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1353, allocations: 3.938 kB / 447 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1355, allocations: 57.67 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1355, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1355, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1355, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.585e-05/0.1356, allocations: 19.98 kB / 447 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.136, allocations: 292.7 kB / 447.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1362, allocations: 58.69 kB / 447.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.1363, allocations: 20.84 kB / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1363, allocations: 0 / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.1366, allocations: 67.39 kB / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1366, allocations: 3.938 kB / 447.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000534/0.1371, allocations: 173.3 kB / 447.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1372, allocations: 51.41 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1374, allocations: 198 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1374, allocations: 25.7 kB / 447.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.1375, allocations: 100.1 kB / 448 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1375, allocations: 19.72 kB / 448 MB, free: 8.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1376, allocations: 17.72 kB / 448.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1377, allocations: 322.8 kB / 448.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.1378, allocations: 27.92 kB / 448.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.1378, allocations: 37.7 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.138, allocations: 53.7 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.138, allocations: 0 / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1382, allocations: 101.5 kB / 448.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1382, allocations: 12.03 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1382, allocations: 0 / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1382, allocations: 3.984 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.1383, allocations: 19.92 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1383, allocations: 4 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1384, allocations: 3.938 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1384, allocations: 8 kB / 448.6 MB, free: 7.457 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.533e-05/0.1385, allocations: 121.8 kB / 448.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.1385, allocations: 15.81 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.1386, allocations: 20.66 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1386, allocations: 3.984 kB / 448.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1386, allocations: 0 / 448.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1386, allocations: 3.938 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.1391, allocations: 391.3 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1391, allocations: 0 / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.1391, allocations: 8 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1391, allocations: 3.938 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1392, allocations: 8.031 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1392, allocations: 0 / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1392, allocations: 3.984 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1394, allocations: 200.2 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1395, allocations: 92.92 kB / 449.5 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1395, allocations: 3.938 kB / 449.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1396, allocations: 11.98 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1396, allocations: 4 kB / 449.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1396, allocations: 4 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1398, allocations: 148 kB / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1398, allocations: 0 / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.14, allocations: 24 kB / 449.7 MB, free: 6.309 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.001515/0.1415, allocations: 1.114 MB / 450.8 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1417, allocations: 63.91 kB / 450.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1417, allocations: 0 / 450.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-05/0.1418, allocations: 27.98 kB / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1422, allocations: 27.97 kB / 450.9 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1439, allocations: 1.646 MB / 452.6 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.1444, allocations: 0.7004 MB / 453.3 MB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.1445, allocations: 25.11 kB / 453.3 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.1445, allocations: 35.42 kB / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1445, allocations: 0 / 453.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2066/0.3512, allocations: 2.919 MB / 456.2 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.3514, allocations: 236.2 kB / 456.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.268, allocations: 1.938 kB / 456.5 MB, free: 45.3 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches