Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.0008702/0.0008701, allocations: 102.6 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.001043/0.001043, allocations: 180 kB / 16.92 MB, free: 6.922 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.464/1.464, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.3384/0.3384, allocations: 43.57 MB / 315 MB, free: 8.68 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.0005465/0.0005471, allocations: 19.98 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002209/0.1346, allocations: 1.414 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1359, allocations: 0.773 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.136, allocations: 7.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1364, allocations: 39.88 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1365, allocations: 47.83 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1368, allocations: 71.86 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.137, allocations: 99.67 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1371, allocations: 16.22 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.1372, allocations: 35.8 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.1373, allocations: 31.78 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1373, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1374, allocations: 39.98 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.1375, allocations: 19.92 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.1376, allocations: 65.42 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1378, allocations: 107.9 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1378, allocations: 0 / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1378, allocations: 0 / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1378, allocations: 0 / 446.3 MB, free: 9.781 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.0005568/0.1384, allocations: 410.9 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1384, allocations: 12.03 kB / 446.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.1385, allocations: 30.75 kB / 446.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.1385, allocations: 8.844 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1388, allocations: 212.7 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1388, allocations: 384 / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1388, allocations: 7.938 kB / 447 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.139, allocations: 57.61 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.139, allocations: 4 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.139, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.139, allocations: 8 kB / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1391, allocations: 19.92 kB / 447.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1395, allocations: 288.9 kB / 447.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1396, allocations: 50.69 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1397, allocations: 28.84 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1397, allocations: 3.938 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.14, allocations: 63.39 kB / 447.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.14, allocations: 0 / 447.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005423/0.1405, allocations: 181.1 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1406, allocations: 55.41 kB / 447.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1407, allocations: 195.3 kB / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1408, allocations: 33.7 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.1408, allocations: 104.1 kB / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1409, allocations: 23.66 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1409, allocations: 17.7 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.141, allocations: 326.8 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.1411, allocations: 20 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1412, allocations: 33.7 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1413, allocations: 65.64 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1413, allocations: 0 / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1415, allocations: 105.4 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1415, allocations: 8 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1415, allocations: 0 / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1415, allocations: 3.984 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1416, allocations: 12 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.1417, allocations: 4.156 kB / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1417, allocations: 7.969 kB / 448.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1418, allocations: 7.984 kB / 448.7 MB, free: 7.176 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.0001176/0.1419, allocations: 133.5 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.1419, allocations: 7.906 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.142, allocations: 21.38 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.142, allocations: 4 kB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.142, allocations: 0 / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.142, allocations: 4.125 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.1424, allocations: 399.2 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1424, allocations: 3.938 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.1425, allocations: 11.94 kB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1425, allocations: 7.922 kB / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1425, allocations: 384 / 449.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1425, allocations: 4 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.1425, allocations: 4 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1427, allocations: 200.3 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.1428, allocations: 88.92 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1428, allocations: 11.92 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1429, allocations: 4 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1429, allocations: 7.984 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1429, allocations: 3.938 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1431, allocations: 156.9 kB / 449.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1431, allocations: 4 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1433, allocations: 24 kB / 449.7 MB, free: 5.996 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.001604/0.1449, allocations: 1.088 MB / 450.8 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1451, allocations: 67.89 kB / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1452, allocations: 0 / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.1452, allocations: 31.92 kB / 450.9 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1456, allocations: 28.42 kB / 451 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1476, allocations: 1.705 MB / 452.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1479, allocations: 0.7043 MB / 453.4 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.148, allocations: 12.88 kB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1481, allocations: 35.42 kB / 453.4 MB, free: 2.219 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1481, allocations: 0 / 453.4 MB, free: 2.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2228/0.3709, allocations: 2.975 MB / 456.4 MB, free: 46.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.3711, allocations: 236.3 kB / 456.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.182, allocations: 0 / 456.6 MB, free: 45.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches