Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.0009725/0.0009725, allocations: 96.94 kB / 16.02 MB, free: 84 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.001139/0.001139, allocations: 184.3 kB / 16.92 MB, free: 6.934 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.552/1.552, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3717/0.3717, allocations: 43.58 MB / 315 MB, free: 8.859 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.0006752/0.0006751, allocations: 16 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1299, allocations: 58.86 MB / 443.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001862/0.1318, allocations: 1.383 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.133, allocations: 0.7574 MB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.133, allocations: 0 / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1333, allocations: 47.88 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.1335, allocations: 55.81 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1337, allocations: 75.86 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1339, allocations: 95.67 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.1339, allocations: 11.97 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.134, allocations: 43.73 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.1341, allocations: 31.84 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1341, allocations: 0 / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.379e-05/0.1342, allocations: 27.98 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.1342, allocations: 23.91 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.1343, allocations: 69.33 kB / 446.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1345, allocations: 115.9 kB / 446.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1345, allocations: 7.938 kB / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1345, allocations: 0 / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1345, allocations: 0 / 446.3 MB, free: 9.816 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004453/0.135, allocations: 410.9 kB / 446.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.135, allocations: 8.031 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1351, allocations: 34.75 kB / 446.7 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.1351, allocations: 16.69 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1353, allocations: 219.7 kB / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1353, allocations: 4.375 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1353, allocations: 7.938 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1355, allocations: 49.61 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1355, allocations: 4 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1355, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1355, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.1356, allocations: 12 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1357, allocations: 189.7 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1359, allocations: 58.55 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.136, allocations: 20.8 kB / 447.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.136, allocations: 4 kB / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.1361, allocations: 63.39 kB / 447.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1362, allocations: 0 / 447.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002503/0.1364, allocations: 105.5 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1365, allocations: 55.34 kB / 447.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1367, allocations: 259.7 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1367, allocations: 25.7 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.1368, allocations: 112.1 kB / 447.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.1368, allocations: 11.91 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.1368, allocations: 13.72 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1369, allocations: 322.8 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.137, allocations: 19.98 kB / 448.3 MB, free: 7.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.137, allocations: 29.7 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.1371, allocations: 37.72 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1372, allocations: 3.938 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001506/0.1373, allocations: 93.42 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1373, allocations: 4 kB / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1373, allocations: 0 / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1374, allocations: 8.031 kB / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.1374, allocations: 8 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1374, allocations: 320 / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1375, allocations: 11.84 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1375, allocations: 4 kB / 448.5 MB, free: 7.387 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 (7): * Single equations (assignments): 7 * 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.0001055/0.1376, allocations: 145.7 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1376, allocations: 11.91 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.1377, allocations: 13 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1377, allocations: 7.984 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1377, allocations: 4 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1377, allocations: 0 / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1379, allocations: 197.5 kB / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1379, allocations: 3.938 kB / 448.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.1379, allocations: 4 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1379, allocations: 3.984 kB / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1379, allocations: 0 / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1379, allocations: 0 / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1379, allocations: 0 / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1381, allocations: 124.8 kB / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1381, allocations: 88.92 kB / 449.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1382, allocations: 4 kB / 449.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.1382, allocations: 7.984 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.1382, allocations: 3.938 kB / 449.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1383, allocations: 4 kB / 449.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1384, allocations: 203 kB / 449.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1384, allocations: 0 / 449.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1386, allocations: 19.98 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001177/0.1398, allocations: 0.9506 MB / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.14, allocations: 43.92 kB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.14, allocations: 64 / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.14, allocations: 20 kB / 450.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1403, allocations: 27.97 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1418, allocations: 1.676 MB / 452 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1421, allocations: 0.7121 MB / 452.7 MB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.1422, allocations: 12.8 kB / 452.7 MB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.1422, allocations: 35.42 kB / 452.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1422, allocations: 3.938 kB / 452.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2486/0.3909, allocations: 2.969 MB / 455.7 MB, free: 45.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.3911, allocations: 238.4 kB / 456 MB, free: 44.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.149, allocations: 6.594 kB / 456 MB, free: 44.86 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches