Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001347/0.001347, allocations: 104.5 kB / 15.98 MB, free: 6.348 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.001478/0.001479, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.572/1.572, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3604/0.3604, allocations: 43.5 MB / 313.6 MB, free: 8.484 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.001405/0.001405, allocations: 78.55 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003432/0.1359, allocations: 1.834 MB / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.138, allocations: 1.449 MB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/0.1381, allocations: 0 / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1385, allocations: 55.75 kB / 443.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1388, allocations: 79.67 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1391, allocations: 123.8 kB / 443.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1394, allocations: 183.5 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.1394, allocations: 21.53 kB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1396, allocations: 87.56 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1398, allocations: 67.69 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1399, allocations: 12 kB / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.14, allocations: 71.89 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1401, allocations: 23.92 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.1401, allocations: 63.59 kB / 444.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1404, allocations: 167.8 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1404, allocations: 0 / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1404, allocations: 3.938 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1404, allocations: 4 kB / 444.3 MB, free: 10.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006605/0.1411, allocations: 474.6 kB / 444.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1411, allocations: 11.89 kB / 444.8 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.1412, allocations: 34.75 kB / 444.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.1413, allocations: 20.73 kB / 444.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1416, allocations: 243.6 kB / 445.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1416, allocations: 4.375 kB / 445.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1416, allocations: 11.88 kB / 445.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1418, allocations: 101.1 kB / 445.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1419, allocations: 0 / 445.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1419, allocations: 0 / 445.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1419, allocations: 4 kB / 445.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.142, allocations: 31.92 kB / 445.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1423, allocations: 210.5 kB / 445.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.1425, allocations: 105.2 kB / 445.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.1426, allocations: 45.58 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1427, allocations: 3.938 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.1429, allocations: 113 kB / 445.7 MB, free: 8.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.045e-06/0.143, allocations: 3.984 kB / 445.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004442/0.1434, allocations: 169.4 kB / 445.9 MB, free: 8.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.1435, allocations: 128.5 kB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1437, allocations: 215.8 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1438, allocations: 29.64 kB / 446.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.1438, allocations: 120.1 kB / 446.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1439, allocations: 31.64 kB / 446.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.1439, allocations: 21.72 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1441, allocations: 330.8 kB / 446.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.1442, allocations: 27.98 kB / 446.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1443, allocations: 69.14 kB / 446.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1445, allocations: 95.84 kB / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1445, allocations: 3.938 kB / 446.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002535/0.1448, allocations: 129.4 kB / 447.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1448, allocations: 4 kB / 447.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1448, allocations: 8.094 kB / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1448, allocations: 0 / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1449, allocations: 31.92 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1449, allocations: 0 / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.145, allocations: 7.906 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.145, allocations: 4 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001292/0.1452, allocations: 137.8 kB / 447.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.1452, allocations: 15.81 kB / 447.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.1453, allocations: 24.98 kB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1453, allocations: 4 kB / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1453, allocations: 0 / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1453, allocations: 0 / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1455, allocations: 221.5 kB / 447.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1455, allocations: 3.984 kB / 447.5 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1456, allocations: 11.94 kB / 447.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1456, allocations: 0 / 447.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1456, allocations: 4 kB / 447.5 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1456, allocations: 0 / 447.5 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1456, allocations: 3.938 kB / 447.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1459, allocations: 177.6 kB / 447.7 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.146, allocations: 92.92 kB / 447.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.146, allocations: 8.125 kB / 447.8 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.1461, allocations: 4 kB / 447.8 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1461, allocations: 11.98 kB / 447.8 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1462, allocations: 4 kB / 447.8 MB, free: 6.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1463, allocations: 169.5 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1463, allocations: 0 / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1466, allocations: 39.98 kB / 448 MB, free: 6.258 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001551/0.1481, allocations: 1.049 MB / 449.1 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1484, allocations: 87.83 kB / 449.2 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1484, allocations: 0 / 449.2 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1485, allocations: 39.92 kB / 449.2 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1489, allocations: 55.94 kB / 449.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.1511, allocations: 1.835 MB / 451.1 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1515, allocations: 0.7164 MB / 451.8 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.1516, allocations: 30.02 kB / 451.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.1517, allocations: 47.42 kB / 451.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1517, allocations: 0 / 451.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2073/0.359, allocations: 4.499 MB / 456.4 MB, free: 47.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.3592, allocations: 236.2 kB / 456.6 MB, free: 47.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.125, allocations: 3.719 kB / 456.6 MB, free: 47.6 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches