Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001337/0.001337, allocations: 96.14 kB / 15.87 MB, free: 16 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.001012/0.001012, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.3995/0.3995, allocations: 43.5 MB / 313.5 MB, free: 8.477 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.001747/0.001747, allocations: 79.11 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1343, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00382/0.1382, allocations: 1.756 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1396, allocations: 0.7885 MB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1398, allocations: 0 / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1402, allocations: 103.8 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1405, allocations: 79.72 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1408, allocations: 79.84 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.141, allocations: 107.7 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1411, allocations: 12.22 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1413, allocations: 55.77 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1414, allocations: 55.81 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1414, allocations: 7.938 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1416, allocations: 35.97 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.1416, allocations: 31.8 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.1417, allocations: 35.73 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1419, allocations: 131.8 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1419, allocations: 4 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1419, allocations: 0 / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.142, allocations: 0 / 443.2 MB, free: 11.45 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.0006214/0.1426, allocations: 426.8 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.1426, allocations: 12.03 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.1427, allocations: 30.75 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.1428, allocations: 16.75 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.143, allocations: 228.6 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1431, allocations: 384 / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1431, allocations: 11.94 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1433, allocations: 53.67 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1433, allocations: 0 / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1433, allocations: 0 / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1433, allocations: 0 / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.302e-05/0.1434, allocations: 19.98 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1438, allocations: 292.9 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.144, allocations: 66.62 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.1441, allocations: 20.84 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.1441, allocations: 0 / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1444, allocations: 71.38 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1444, allocations: 0 / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.145, allocations: 177.1 kB / 444.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.145, allocations: 55.41 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1452, allocations: 250 kB / 444.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1453, allocations: 25.7 kB / 444.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1454, allocations: 108.1 kB / 445 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.1454, allocations: 27.64 kB / 445 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.1455, allocations: 21.72 kB / 445.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1456, allocations: 330.8 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.1456, allocations: 20 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1457, allocations: 33.7 kB / 445.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1458, allocations: 61.89 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1458, allocations: 0 / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.146, allocations: 109.4 kB / 445.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1461, allocations: 4 kB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1461, allocations: 4.031 kB / 445.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1461, allocations: 3.984 kB / 445.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.1462, allocations: 16 kB / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1462, allocations: 3.938 kB / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.1463, allocations: 7.938 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1463, allocations: 4 kB / 445.7 MB, free: 8.746 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.0001119/0.1464, allocations: 137.8 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.1464, allocations: 11.81 kB / 445.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1465, allocations: 29.33 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1465, allocations: 0 / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1465, allocations: 0 / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1465, allocations: 3.938 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.147, allocations: 399.3 kB / 446.2 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.147, allocations: 0 / 446.2 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.147, allocations: 8 kB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.147, allocations: 3.938 kB / 446.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.147, allocations: 12.41 kB / 446.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.147, allocations: 0 / 446.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.147, allocations: 4.234 kB / 446.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1473, allocations: 208.1 kB / 446.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.1473, allocations: 96.91 kB / 446.5 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1474, allocations: 7.938 kB / 446.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.1475, allocations: 0 / 446.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1475, allocations: 11.98 kB / 446.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1475, allocations: 4 kB / 446.6 MB, free: 7.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1477, allocations: 184.3 kB / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1477, allocations: 0 / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1479, allocations: 24 kB / 446.8 MB, free: 7.516 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.001489/0.1494, allocations: 1.101 MB / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1496, allocations: 67.91 kB / 447.9 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1496, allocations: 0 / 447.9 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.1497, allocations: 27.98 kB / 448 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1501, allocations: 27.78 kB / 448 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1519, allocations: 1.788 MB / 449.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1523, allocations: 0.7157 MB / 450.5 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.968e-05/0.1523, allocations: 25.17 kB / 450.5 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.1524, allocations: 35.42 kB / 450.6 MB, free: 3.625 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1524, allocations: 4 kB / 450.6 MB, free: 3.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1671, allocations: 3.359 MB / 453.9 MB, free: 240 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2367/0.4038, allocations: 233.3 kB / 454.1 MB, free: 51.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.148, allocations: 0 / 454.1 MB, free: 51.57 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches