Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 214.4 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.27 MB / 330.4 MB, free: 9.289 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 79.89 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 61.04 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004891/0.1367, allocations: 3.144 MB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1383, allocations: 0.8187 MB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.1385, allocations: 8 kB / 0.52 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.1387, allocations: 71.23 kB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.139, allocations: 130.8 kB / 0.5202 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1394, allocations: 135.8 kB / 0.5203 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.14, allocations: 0.5064 MB / 0.5208 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.1404, allocations: 174.3 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1407, allocations: 223.2 kB / 0.5212 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.1409, allocations: 194.9 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.141, allocations: 52 kB / 0.5214 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.1411, allocations: 48 kB / 0.5215 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1412, allocations: 115.7 kB / 0.5216 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.1414, allocations: 203.1 kB / 0.5218 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.1421, allocations: 0.5679 MB / 0.5223 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1422, allocations: 0 / 0.5223 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1422, allocations: 0 / 0.5223 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1422, allocations: 0 / 0.5223 GB, free: 0.7812 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001453/0.1436, allocations: 0.6922 MB / 0.523 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1437, allocations: 12.03 kB / 0.523 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.1438, allocations: 90.7 kB / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.1439, allocations: 48.66 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.1444, allocations: 259.7 kB / 0.5234 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.1444, allocations: 37.38 kB / 0.5235 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.1445, allocations: 44.38 kB / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.1453, allocations: 0.5104 MB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1454, allocations: 0 / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.774e-05/0.1454, allocations: 16 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1455, allocations: 12 kB / 0.524 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.1462, allocations: 328.1 kB / 0.5243 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.1488, allocations: 1.522 MB / 0.5258 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.1493, allocations: 228.9 kB / 0.526 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.1497, allocations: 125.7 kB / 0.5262 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1497, allocations: 4.219 kB / 0.5262 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1497, allocations: 38.5 kB / 0.5262 GB, free: 12.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.1497, allocations: 4 kB / 0.5262 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003051/0.1528, allocations: 1.127 MB / 0.5273 GB, free: 11.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.1528, allocations: 85.09 kB / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.1532, allocations: 261.8 kB / 0.5276 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1532, allocations: 33.7 kB / 0.5277 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.1534, allocations: 268.1 kB / 0.5279 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1535, allocations: 123 kB / 0.528 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.1536, allocations: 78.09 kB / 0.5281 GB, free: 10.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1538, allocations: 346.7 kB / 0.5284 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.1541, allocations: 116.8 kB / 0.5286 GB, free: 10.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.1545, allocations: 212.3 kB / 0.5288 GB, free: 9.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.1551, allocations: 343.1 kB / 0.5291 GB, free: 9.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1551, allocations: 0 / 0.5291 GB, free: 9.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009096/0.156, allocations: 421.8 kB / 0.5295 GB, free: 9.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1561, allocations: 8 kB / 0.5295 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1561, allocations: 4 kB / 0.5295 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.1563, allocations: 37.16 kB / 0.5295 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.1567, allocations: 123.8 kB / 0.5297 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1581, allocations: 1.327 MB / 0.5309 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1583, allocations: 19.98 kB / 0.531 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.1584, allocations: 20.06 kB / 0.531 GB, free: 7.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.1586, allocations: 165.7 kB / 0.5311 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.1587, allocations: 31.81 kB / 0.5312 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.1588, allocations: 34.11 kB / 0.5312 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1588, allocations: 4 kB / 0.5312 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1588, allocations: 7.938 kB / 0.5312 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1588, allocations: 0 / 0.5312 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.16, allocations: 0.6521 MB / 0.5319 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.16, allocations: 0 / 0.5319 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.1605, allocations: 91.88 kB / 0.5319 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.436e-05/0.1605, allocations: 28.78 kB / 0.532 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1606, allocations: 8 kB / 0.532 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.1617, allocations: 1.327 MB / 0.5333 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1617, allocations: 4.031 kB / 0.5333 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1628, allocations: 0.5971 MB / 0.5339 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1629, allocations: 43.83 kB / 0.5339 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.163, allocations: 15.98 kB / 0.5339 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.1633, allocations: 23.98 kB / 0.5339 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.1633, allocations: 23.95 kB / 0.534 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1634, allocations: 8 kB / 0.534 GB, free: 4.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.1636, allocations: 185.2 kB / 0.5341 GB, free: 3.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1636, allocations: 0 / 0.5341 GB, free: 3.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00049/0.1641, allocations: 92 kB / 0.5342 GB, free: 3.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/0.1655, allocations: 1.147 MB / 0.5354 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.1664, allocations: 399.2 kB / 0.5357 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1664, allocations: 0 / 0.5357 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.1669, allocations: 242.5 kB / 0.536 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.1674, allocations: 46.95 kB / 0.536 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2277/0.395, allocations: 3.479 MB / 0.5394 GB, free: 26.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.3953, allocations: 214.2 kB / 0.5396 GB, free: 26.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.3954, allocations: 35.73 kB / 0.5396 GB, free: 26.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.3956, allocations: 141.7 kB / 0.5398 GB, free: 26.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3956, allocations: 0.9375 kB / 0.5398 GB, free: 26.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/0.4377, allocations: 7.114 MB / 0.5467 GB, free: 25.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.55, allocations: 5.094 kB / 0.5467 GB, free: 25.52 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.606851757969707]