Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001586/0.001586, allocations: 103.7 kB / 16.4 MB, free: 6.492 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.001369/0.001369, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.785/1.785, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.241/0.241, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.001431/0.001432, allocations: 77.45 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1353, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003487/0.1389, allocations: 1.701 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1403, allocations: 0.7999 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.1404, allocations: 4 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1408, allocations: 43.75 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1411, allocations: 63.75 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1414, allocations: 95.75 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1416, allocations: 107.7 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1417, allocations: 12.22 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1418, allocations: 59.75 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1419, allocations: 43.77 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1419, allocations: 8 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1421, allocations: 47.98 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1421, allocations: 27.92 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.1422, allocations: 35.73 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1424, allocations: 127.6 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1425, allocations: 0 / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1425, allocations: 0 / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1425, allocations: 3.984 kB / 0.4906 GB, free: 9.031 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.0005927/0.1431, allocations: 422.8 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1431, allocations: 11.89 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.1432, allocations: 42.75 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.1432, allocations: 12.75 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.1436, allocations: 220.8 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1436, allocations: 4.359 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1436, allocations: 11.94 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1438, allocations: 61.66 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1438, allocations: 4 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1438, allocations: 3.938 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1438, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.144, allocations: 43.97 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1444, allocations: 308.7 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.1446, allocations: 78.66 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.1447, allocations: 36.78 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1448, allocations: 0 / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.145, allocations: 79.45 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.145, allocations: 0 / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006419/0.1456, allocations: 229 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.1457, allocations: 55.41 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1459, allocations: 187.3 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1459, allocations: 25.7 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.146, allocations: 108.1 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.146, allocations: 35.55 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.1461, allocations: 25.72 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1462, allocations: 322.8 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1463, allocations: 27.92 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.1464, allocations: 49.64 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1465, allocations: 81.7 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1465, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002059/0.1467, allocations: 121.5 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1467, allocations: 8 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1468, allocations: 3.938 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1468, allocations: 0 / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1469, allocations: 23.98 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1469, allocations: 3.938 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.1469, allocations: 4 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.147, allocations: 8.031 kB / 0.4931 GB, free: 6.18 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 (12): * Single equations (assignments): 12 * 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.264e-05/0.1471, allocations: 129.8 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1471, allocations: 15.81 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1471, allocations: 17.39 kB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1471, allocations: 4 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1472, allocations: 3.938 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1472, allocations: 0 / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1477, allocations: 439.4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1477, allocations: 4 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.1477, allocations: 12 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1477, allocations: 7.922 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1477, allocations: 4 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1477, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1478, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.148, allocations: 240.1 kB / 0.4939 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1481, allocations: 88.95 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1481, allocations: 0 / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1482, allocations: 4 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1482, allocations: 15.92 kB / 0.494 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1483, allocations: 4 kB / 0.494 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1484, allocations: 140.9 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1484, allocations: 3.938 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.1487, allocations: 28 kB / 0.4942 GB, free: 4.93 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 (10): * Single equations (assignments): 8 * 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.001519/0.1502, allocations: 1.116 MB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.1504, allocations: 79.91 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1505, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.1505, allocations: 43.92 kB / 0.4954 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1509, allocations: 31.34 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1528, allocations: 1.735 MB / 0.4971 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1531, allocations: 0.7045 MB / 0.4978 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.1532, allocations: 25.05 kB / 0.4979 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.1533, allocations: 47.42 kB / 0.4979 GB, free: 1.059 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1533, allocations: 384 / 0.4979 GB, free: 1.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.177, allocations: 3.681 MB / 0.5015 GB, free: 13.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.702, allocations: 11.94 kB / 0.5015 GB, free: 13.34 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches