Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.000818/0.0008178, allocations: 103.3 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.0008967/0.0008967, allocations: 185.8 kB / 16.92 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.509/1.509, allocations: 205.4 MB / 223.1 MB, free: 5.75 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.3575/0.3575, allocations: 43.58 MB / 315 MB, free: 8.688 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.0005307/0.0005308, allocations: 16 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.135, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002581/0.1376, allocations: 1.418 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1394, allocations: 0.7691 MB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1395, allocations: 0 / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.14, allocations: 87.81 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.1403, allocations: 63.8 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1407, allocations: 83.84 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.141, allocations: 99.62 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1411, allocations: 12.22 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1412, allocations: 47.77 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1414, allocations: 55.81 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1414, allocations: 4 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1416, allocations: 35.98 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.1417, allocations: 19.92 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.1417, allocations: 69.31 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.142, allocations: 119.8 kB / 446.4 MB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.142, allocations: 0 / 446.4 MB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.142, allocations: 0 / 446.4 MB, free: 9.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.142, allocations: 0 / 446.4 MB, free: 9.676 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.0006139/0.1427, allocations: 403.1 kB / 446.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1427, allocations: 12.03 kB / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.1428, allocations: 34.75 kB / 446.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1428, allocations: 16.75 kB / 446.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1431, allocations: 200.8 kB / 447.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1431, allocations: 8.312 kB / 447.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1432, allocations: 3.938 kB / 447.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1433, allocations: 57.67 kB / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1433, allocations: 0 / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1434, allocations: 0 / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1434, allocations: 4 kB / 447.1 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.1435, allocations: 23.98 kB / 447.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1439, allocations: 288.8 kB / 447.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.144, allocations: 66.61 kB / 447.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.1441, allocations: 16.86 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1441, allocations: 15.97 kB / 447.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.1443, allocations: 67.3 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1443, allocations: 0 / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006418/0.145, allocations: 165.2 kB / 447.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.145, allocations: 59.39 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1453, allocations: 214.3 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.1453, allocations: 29.7 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.1454, allocations: 108.1 kB / 448.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1455, allocations: 19.66 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1455, allocations: 21.7 kB / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1457, allocations: 322.8 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.1457, allocations: 23.94 kB / 448.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.1458, allocations: 33.7 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1459, allocations: 61.7 kB / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1459, allocations: 0 / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1461, allocations: 105.4 kB / 448.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1462, allocations: 12.17 kB / 448.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1462, allocations: 0 / 448.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1462, allocations: 3.938 kB / 448.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.1463, allocations: 12 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1463, allocations: 0 / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1464, allocations: 11.97 kB / 448.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1464, allocations: 11.97 kB / 448.8 MB, free: 7.047 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.0001069/0.1465, allocations: 129.8 kB / 448.9 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.1465, allocations: 7.906 kB / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.1466, allocations: 21.55 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1466, allocations: 0 / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1466, allocations: 0 / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1466, allocations: 3.938 kB / 449 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1471, allocations: 403.2 kB / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1471, allocations: 0 / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1472, allocations: 11.98 kB / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1472, allocations: 3.938 kB / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1472, allocations: 11.94 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1472, allocations: 0 / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1472, allocations: 0 / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1475, allocations: 200.3 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1475, allocations: 97.28 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1476, allocations: 7.938 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1476, allocations: 4 kB / 449.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1477, allocations: 11.98 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1477, allocations: 4 kB / 449.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1479, allocations: 156.2 kB / 449.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1479, allocations: 0 / 449.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1481, allocations: 28 kB / 449.9 MB, free: 5.863 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.001523/0.1497, allocations: 1.097 MB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1499, allocations: 59.97 kB / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1499, allocations: 0 / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.15, allocations: 31.86 kB / 451.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1503, allocations: 31.97 kB / 451.1 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1522, allocations: 1.714 MB / 452.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1524, allocations: 0.7043 MB / 453.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.1525, allocations: 20.48 kB / 453.5 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.1526, allocations: 35.42 kB / 453.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1526, allocations: 0 / 453.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2393/0.3919, allocations: 3.034 MB / 456.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.3921, allocations: 234 kB / 456.8 MB, free: 45.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.286, allocations: 4.656 kB / 456.8 MB, free: 45.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches