Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.0009957/0.0009957, allocations: 107 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 191.9 kB / 16.91 MB, free: 6.18 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.695/1.695, allocations: 205.1 MB / 222.8 MB, free: 4.668 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.383/0.383, allocations: 43.5 MB / 313.6 MB, free: 8.25 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.001782/0.001782, allocations: 70.56 kB / 382.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1244, allocations: 57.78 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00344/0.1279, allocations: 1.753 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1292, allocations: 0.7885 MB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.1294, allocations: 3.938 kB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1297, allocations: 35.89 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.13, allocations: 47.83 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1303, allocations: 83.83 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1305, allocations: 95.7 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1306, allocations: 16.22 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.1307, allocations: 43.78 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.1308, allocations: 35.78 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1308, allocations: 4 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.131, allocations: 43.97 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.131, allocations: 19.92 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1311, allocations: 31.75 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1313, allocations: 119.9 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1313, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1313, allocations: 4 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1313, allocations: 0 / 443.2 MB, free: 11.24 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.000562/0.1319, allocations: 418.8 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.132, allocations: 15.89 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.132, allocations: 30.75 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.1321, allocations: 12.83 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1323, allocations: 212.7 kB / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1324, allocations: 384 / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1324, allocations: 11.94 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1326, allocations: 61.61 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1326, allocations: 3.938 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1326, allocations: 7.969 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1326, allocations: 0 / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1327, allocations: 19.98 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1331, allocations: 284.9 kB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1333, allocations: 54.69 kB / 444.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1333, allocations: 28.78 kB / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1334, allocations: 0 / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1336, allocations: 63.39 kB / 444.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.1336, allocations: 0 / 444.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005872/0.1342, allocations: 181.1 kB / 444.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1342, allocations: 51.41 kB / 444.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1344, allocations: 199.3 kB / 444.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1345, allocations: 25.7 kB / 444.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1345, allocations: 112 kB / 445 MB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1346, allocations: 23.73 kB / 445 MB, free: 9.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.1346, allocations: 21.7 kB / 445 MB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1347, allocations: 322.8 kB / 445.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.1348, allocations: 27.94 kB / 445.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.1349, allocations: 37.7 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.135, allocations: 61.72 kB / 445.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.135, allocations: 0 / 445.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002375/0.1353, allocations: 105.4 kB / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1353, allocations: 8 kB / 445.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1353, allocations: 4.031 kB / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1353, allocations: 0 / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.1354, allocations: 12 kB / 445.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1354, allocations: 4 kB / 445.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.1355, allocations: 11.92 kB / 445.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1355, allocations: 4 kB / 445.6 MB, free: 8.609 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.836e-05/0.1356, allocations: 117.8 kB / 445.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1356, allocations: 15.81 kB / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.1357, allocations: 29.7 kB / 445.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1357, allocations: 0 / 445.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1357, allocations: 4 kB / 445.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1357, allocations: 4.125 kB / 445.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.1361, allocations: 391.3 kB / 446.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1362, allocations: 7.938 kB / 446.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.1362, allocations: 11.98 kB / 446.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1362, allocations: 3.938 kB / 446.2 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1362, allocations: 4.031 kB / 446.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1362, allocations: 0 / 446.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1362, allocations: 4 kB / 446.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1365, allocations: 200.3 kB / 446.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1365, allocations: 84.92 kB / 446.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.1366, allocations: 11.92 kB / 446.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1366, allocations: 0 / 446.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.1367, allocations: 11.94 kB / 446.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1367, allocations: 11.98 kB / 446.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1368, allocations: 148.9 kB / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1368, allocations: 0 / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1371, allocations: 27.98 kB / 446.7 MB, free: 7.438 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.001447/0.1385, allocations: 1.094 MB / 447.8 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1388, allocations: 67.89 kB / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1388, allocations: 0 / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.1388, allocations: 31.92 kB / 447.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1392, allocations: 35.84 kB / 447.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1412, allocations: 1.682 MB / 449.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1415, allocations: 0.708 MB / 450.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.1416, allocations: 16.88 kB / 450.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.1417, allocations: 35.42 kB / 450.3 MB, free: 3.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1417, allocations: 0 / 450.3 MB, free: 3.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.1556, allocations: 3.25 MB / 453.6 MB, free: 404 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.1558, allocations: 234.8 kB / 453.8 MB, free: 144 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.902, allocations: 0 / 453.8 MB, free: 144 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches