Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001501/0.001501, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001688/0.001688, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 60.47 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1295, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003407/0.133, allocations: 1.707 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1352, allocations: 1.472 MB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1354, allocations: 3.938 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1357, allocations: 39.83 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1361, allocations: 63.67 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1366, allocations: 107 kB / 472.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1368, allocations: 95.7 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1369, allocations: 20.22 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.137, allocations: 43.78 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1372, allocations: 35.83 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1373, allocations: 4 kB / 473 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1374, allocations: 55.98 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.1375, allocations: 15.92 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.1376, allocations: 35.73 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1379, allocations: 127.9 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1379, allocations: 0 / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1379, allocations: 3.938 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1379, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.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.0006751/0.1386, allocations: 403.2 kB / 473.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1386, allocations: 12.03 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1387, allocations: 34.75 kB / 473.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1388, allocations: 8.844 kB / 473.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.139, allocations: 204 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1391, allocations: 4.375 kB / 473.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1391, allocations: 7.938 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1393, allocations: 71.39 kB / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1393, allocations: 0 / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1393, allocations: 0 / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1393, allocations: 0 / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.1394, allocations: 19.98 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.1398, allocations: 288.8 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.14, allocations: 62.67 kB / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.1401, allocations: 20.84 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1401, allocations: 3.938 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1403, allocations: 67.39 kB / 474.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1403, allocations: 0 / 474.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005979/0.1409, allocations: 173.4 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.141, allocations: 81.11 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1412, allocations: 156 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1412, allocations: 29.64 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1413, allocations: 96.12 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1413, allocations: 23.66 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1414, allocations: 25.7 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1415, allocations: 322.8 kB / 475.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.1416, allocations: 20 kB / 475.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.1416, allocations: 46.67 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1418, allocations: 65.69 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1418, allocations: 0 / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.142, allocations: 97.52 kB / 475.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.142, allocations: 8 kB / 475.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.142, allocations: 4.25 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1421, allocations: 0 / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.1422, allocations: 19.88 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1422, allocations: 4 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.1422, allocations: 11.92 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1423, allocations: 4 kB / 475.5 MB, free: 7.828 MB / 350.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.0001192/0.1424, allocations: 117.8 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1424, allocations: 7.906 kB / 475.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.1425, allocations: 20.7 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1425, allocations: 0 / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1425, allocations: 0 / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1425, allocations: 3.938 kB / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.143, allocations: 387.3 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.143, allocations: 0 / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.1431, allocations: 8 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1431, allocations: 7.922 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1431, allocations: 4.031 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1431, allocations: 4 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1431, allocations: 0 / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1434, allocations: 208.1 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.1434, allocations: 85.02 kB / 476.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1435, allocations: 7.938 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1436, allocations: 7.984 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1436, allocations: 8 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1436, allocations: 0 / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1437, allocations: 119.2 kB / 476.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 0 / 476.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.144, allocations: 31.98 kB / 476.5 MB, free: 6.711 MB / 350.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.001674/0.1457, allocations: 1.137 MB / 477.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1459, allocations: 67.84 kB / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.146, allocations: 0 / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.146, allocations: 31.92 kB / 477.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1464, allocations: 25.61 kB / 477.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1481, allocations: 1.547 MB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1485, allocations: 0.7012 MB / 480 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.701e-05/0.1486, allocations: 24.8 kB / 480.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.1487, allocations: 27.42 kB / 480.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1487, allocations: 0 / 480.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.1722, allocations: 3.469 MB / 483.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.894, allocations: 18.27 kB / 483.6 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches