Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.0009751/0.0009751, allocations: 102.8 kB / 16.02 MB, free: 76 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.001193/0.001193, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.429/1.429, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.3689/0.3689, allocations: 43.58 MB / 315 MB, free: 8.719 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.0004969/0.0004969, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002598/0.1439, allocations: 1.414 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1455, allocations: 0.7691 MB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1456, allocations: 7.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.146, allocations: 43.88 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1463, allocations: 51.81 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1466, allocations: 75.84 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1467, allocations: 95.69 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1469, allocations: 16.22 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.147, allocations: 43.78 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.147, allocations: 31.78 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1471, allocations: 0 / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1472, allocations: 47.91 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.1472, allocations: 23.92 kB / 446.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1473, allocations: 61.39 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1475, allocations: 111.9 kB / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1475, allocations: 4 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1475, allocations: 4 kB / 446.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1476, allocations: 0 / 446.3 MB, free: 9.754 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.0005654/0.1481, allocations: 410.9 kB / 446.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1482, allocations: 12.03 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.1482, allocations: 34.75 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1483, allocations: 12.75 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1485, allocations: 219.9 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1485, allocations: 4.375 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1486, allocations: 7.938 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1487, allocations: 57.67 kB / 447.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1488, allocations: 0 / 447.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1488, allocations: 4 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1488, allocations: 0 / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.1489, allocations: 27.92 kB / 447.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1493, allocations: 284.9 kB / 447.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1495, allocations: 58.67 kB / 447.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.47e-05/0.1496, allocations: 24.84 kB / 447.5 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1496, allocations: 0 / 447.5 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1499, allocations: 67.33 kB / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1499, allocations: 0 / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005861/0.1505, allocations: 185.1 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1505, allocations: 51.41 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.1508, allocations: 222.6 kB / 448 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1508, allocations: 29.7 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.1509, allocations: 104.1 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.1509, allocations: 27.64 kB / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.1509, allocations: 13.72 kB / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1511, allocations: 326.8 kB / 448.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.1512, allocations: 23.98 kB / 448.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1512, allocations: 37.7 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1514, allocations: 57.64 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1514, allocations: 192 / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1516, allocations: 105.4 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1516, allocations: 7.938 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1516, allocations: 7.969 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1516, allocations: 4 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1517, allocations: 15.98 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1517, allocations: 4.141 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.1518, allocations: 7.938 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.1518, allocations: 0 / 448.7 MB, free: 7.098 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.000113/0.1519, allocations: 129.8 kB / 448.9 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1519, allocations: 11.91 kB / 448.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.152, allocations: 25.39 kB / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.152, allocations: 0 / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.152, allocations: 0 / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.152, allocations: 7.922 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.1525, allocations: 391.3 kB / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1525, allocations: 0 / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.1525, allocations: 19.92 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1525, allocations: 7.938 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1526, allocations: 4.406 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1526, allocations: 0 / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1526, allocations: 4 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1528, allocations: 204.2 kB / 449.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.1529, allocations: 96.91 kB / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1529, allocations: 3.938 kB / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.153, allocations: 4 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.153, allocations: 15.98 kB / 449.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1531, allocations: 0 / 449.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1532, allocations: 176.2 kB / 449.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 449.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1535, allocations: 23.98 kB / 449.8 MB, free: 5.891 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.00151/0.155, allocations: 1.094 MB / 450.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1552, allocations: 67.91 kB / 451 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1552, allocations: 0 / 451 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.1553, allocations: 27.92 kB / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1557, allocations: 32.23 kB / 451.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1576, allocations: 1.746 MB / 452.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.158, allocations: 0.7043 MB / 453.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.1581, allocations: 16.88 kB / 453.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1582, allocations: 39.42 kB / 453.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1582, allocations: 0 / 453.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/0.397, allocations: 3.085 MB / 456.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.3973, allocations: 235.5 kB / 456.9 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.359, allocations: 3.781 kB / 456.9 MB, free: 45.46 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches