Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.001751/0.001751, allocations: 108.7 kB / 15.98 MB, free: 6.344 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.001717/0.001717, allocations: 194.2 kB / 16.91 MB, free: 6.188 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.471/1.471, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3132/0.3132, allocations: 43.49 MB / 313.6 MB, free: 8.578 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.001407/0.001407, allocations: 67.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004244/0.1313, allocations: 2.652 MB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1325, allocations: 0.78 MB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1326, allocations: 11.94 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.1329, allocations: 51.62 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1331, allocations: 79.48 kB / 443.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1334, allocations: 103.8 kB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.1337, allocations: 414.5 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.134, allocations: 139.2 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1342, allocations: 155.4 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1344, allocations: 171.2 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.1344, allocations: 36 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.1345, allocations: 32 kB / 444.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.1346, allocations: 79.75 kB / 444.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1347, allocations: 179 kB / 445 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.1351, allocations: 414.5 kB / 445.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1351, allocations: 0 / 445.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1351, allocations: 0 / 445.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1351, allocations: 0 / 445.4 MB, free: 9.336 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009496/0.1361, allocations: 0.6707 MB / 446 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1361, allocations: 11.89 kB / 446 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.1362, allocations: 74.66 kB / 446.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.1363, allocations: 40.38 kB / 446.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1365, allocations: 272.7 kB / 446.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1365, allocations: 29.31 kB / 446.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.1366, allocations: 32.38 kB / 446.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.1372, allocations: 366 kB / 446.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1372, allocations: 0 / 446.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1373, allocations: 12 kB / 446.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1373, allocations: 8 kB / 446.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.1379, allocations: 271.2 kB / 447.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1397, allocations: 1.342 MB / 448.5 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.1402, allocations: 198.6 kB / 448.7 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1404, allocations: 79.5 kB / 448.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1405, allocations: 8 kB / 448.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1405, allocations: 42.48 kB / 448.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.1405, allocations: 4 kB / 448.8 MB, free: 5.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007135/0.1412, allocations: 249.1 kB / 449 MB, free: 5.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.1413, allocations: 132.5 kB / 449.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1416, allocations: 328.5 kB / 449.5 MB, free: 4.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1416, allocations: 33.7 kB / 449.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1418, allocations: 227.7 kB / 449.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.1418, allocations: 59.19 kB / 449.8 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.1419, allocations: 53.89 kB / 449.8 MB, free: 4.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.142, allocations: 346.7 kB / 450.2 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1422, allocations: 80.44 kB / 450.3 MB, free: 4.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1425, allocations: 172.2 kB / 450.4 MB, free: 3.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.143, allocations: 255.5 kB / 450.7 MB, free: 3.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.143, allocations: 4 kB / 450.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005852/0.1436, allocations: 305.1 kB / 451 MB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1437, allocations: 8 kB / 451 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1437, allocations: 0 / 451 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1437, allocations: 4 kB / 451 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.1441, allocations: 95.86 kB / 451.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1441, allocations: 7.938 kB / 451.1 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.1444, allocations: 51.7 kB / 451.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1444, allocations: 8 kB / 451.2 MB, free: 3.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001352/0.1446, allocations: 153.7 kB / 451.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.382e-05/0.1447, allocations: 31.62 kB / 451.3 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.1447, allocations: 34.41 kB / 451.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1447, allocations: 0 / 451.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1448, allocations: 4 kB / 451.4 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1448, allocations: 0 / 451.4 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.1456, allocations: 0.5914 MB / 452 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1456, allocations: 4 kB / 452 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1459, allocations: 60.03 kB / 452 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1459, allocations: 8 kB / 452 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1459, allocations: 7.938 kB / 452 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1459, allocations: 0 / 452 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1459, allocations: 4 kB / 452 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.1465, allocations: 394.5 kB / 452.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.1466, allocations: 116.7 kB / 452.5 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1466, allocations: 3.938 kB / 452.5 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1469, allocations: 19.98 kB / 452.6 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1469, allocations: 15.98 kB / 452.6 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1469, allocations: 4 kB / 452.6 MB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1472, allocations: 231 kB / 452.8 MB, free: 1.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1472, allocations: 0 / 452.8 MB, free: 1.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.1476, allocations: 67.84 kB / 452.9 MB, free: 1.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.001182/0.1488, allocations: 0.9417 MB / 453.8 MB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.1493, allocations: 195.7 kB / 454 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1493, allocations: 0.5 kB / 454 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1459/0.2952, allocations: 78.19 kB / 454.1 MB, free: 48.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.2958, allocations: 23.45 kB / 454.1 MB, free: 48.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.2987, allocations: 3.099 MB / 457.2 MB, free: 46.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2989, allocations: 0.7742 MB / 458 MB, free: 46.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.299, allocations: 26.53 kB / 458 MB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2991, allocations: 107.8 kB / 458.1 MB, free: 46.27 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2991, allocations: 0 / 458.1 MB, free: 46.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4823/0.7814, allocations: 4.547 MB / 462.7 MB, free: 45.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.7816, allocations: 178.7 kB / 462.8 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.498/4.279, allocations: 0 / 462.8 MB, free: 45.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches