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.001248/0.001254, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001177/0.001177, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2194/0.2194, allocations: 43.52 MB / 314.1 MB, free: 464 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.00145/0.00145, allocations: 67.88 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1328, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004695/0.1376, allocations: 2.627 MB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1394, allocations: 0.7991 MB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.1398, allocations: 8 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.1401, allocations: 67.36 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.1406, allocations: 103.2 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.141, allocations: 107.9 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000606/0.1416, allocations: 418.4 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.1419, allocations: 139.2 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.1422, allocations: 151.5 kB / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.1425, allocations: 175.2 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.1426, allocations: 35.94 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.4e-05/0.1427, allocations: 36 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.1427, allocations: 75.75 kB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1429, allocations: 183 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.1435, allocations: 422.1 kB / 0.4926 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1435, allocations: 0 / 0.4926 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1435, allocations: 4 kB / 0.4926 GB, free: 6.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1435, allocations: 0 / 0.4926 GB, free: 6.98 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.001196/0.1447, allocations: 0.6659 MB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1448, allocations: 15.88 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.1449, allocations: 70.72 kB / 0.4933 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.1449, allocations: 44.66 kB / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1453, allocations: 276.8 kB / 0.4936 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.1454, allocations: 29.38 kB / 0.4936 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.1454, allocations: 32.38 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.1461, allocations: 365.9 kB / 0.494 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1461, allocations: 0 / 0.494 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1462, allocations: 16 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1462, allocations: 12 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.1468, allocations: 263.8 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.1488, allocations: 1.343 MB / 0.4956 GB, free: 3.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.1493, allocations: 194.6 kB / 0.4958 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1495, allocations: 79.56 kB / 0.4959 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1496, allocations: 19.91 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1496, allocations: 34.5 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1496, allocations: 0 / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007814/0.1504, allocations: 257.3 kB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.1505, allocations: 132.5 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1508, allocations: 328.4 kB / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1509, allocations: 29.7 kB / 0.4966 GB, free: 2.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.151, allocations: 236.2 kB / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.1511, allocations: 55.58 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.1512, allocations: 57.94 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1513, allocations: 346.8 kB / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1516, allocations: 72.5 kB / 0.4974 GB, free: 1.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1519, allocations: 180.1 kB / 0.4975 GB, free: 1.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.1524, allocations: 243 kB / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1524, allocations: 0 / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007016/0.1531, allocations: 309.3 kB / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1531, allocations: 8 kB / 0.4981 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1532, allocations: 0 / 0.4981 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1532, allocations: 4.25 kB / 0.4981 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1536, allocations: 99.86 kB / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1536, allocations: 4 kB / 0.4982 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1539, allocations: 51.64 kB / 0.4982 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1539, allocations: 12 kB / 0.4982 GB, free: 0.75 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.0001488/0.154, allocations: 153.7 kB / 0.4984 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.1542, allocations: 31.81 kB / 0.4984 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.1542, allocations: 38.34 kB / 0.4984 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1542, allocations: 0 / 0.4984 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1542, allocations: 4 kB / 0.4984 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1543, allocations: 0 / 0.4984 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.155, allocations: 0.5993 MB / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.155, allocations: 8.547 kB / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1553, allocations: 47.95 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.1553, allocations: 4 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1554, allocations: 7.938 kB / 0.4991 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.1554, allocations: 11.92 kB / 0.4991 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1554, allocations: 12.03 kB / 0.4991 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.1559, allocations: 386.9 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.156, allocations: 116.8 kB / 0.4996 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.1561, allocations: 7.938 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.1563, allocations: 11.98 kB / 0.4996 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.1564, allocations: 19.92 kB / 0.4996 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1564, allocations: 7.984 kB / 0.4996 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.1566, allocations: 227.1 kB / 0.4999 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1566, allocations: 4 kB / 0.4999 GB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.1571, allocations: 71.89 kB / 0.4999 GB, free: 14.87 MB / 398.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.0008458/0.1579, allocations: 0.9265 MB / 0.5008 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.1585, allocations: 195.7 kB / 0.501 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1585, allocations: 0 / 0.501 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.1587, allocations: 83.83 kB / 0.5011 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1592, allocations: 28.89 kB / 0.5011 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.1632, allocations: 2.96 MB / 0.504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1636, allocations: 0.7752 MB / 0.5048 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1637, allocations: 30.16 kB / 0.5048 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.1638, allocations: 99.41 kB / 0.5049 GB, free: 9.527 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1639, allocations: 0 / 0.5049 GB, free: 9.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1859, allocations: 4.86 MB / 0.5096 GB, free: 4.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.307, allocations: 7.75 kB / 0.5097 GB, free: 4.648 MB / 398.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches