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.00133/0.00133, allocations: 105.2 kB / 16.4 MB, free: 6.484 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.001473/0.001474, allocations: 196.1 kB / 17.34 MB, free: 5.766 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.5/1.5, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2283/0.2283, allocations: 43.52 MB / 314.1 MB, free: 472 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.001576/0.001576, allocations: 71.88 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1218, allocations: 57.78 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004183/0.126, allocations: 2.62 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1275, allocations: 0.7952 MB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.1278, allocations: 11.94 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1281, allocations: 67.42 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.1284, allocations: 99.17 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1288, allocations: 111.8 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.1293, allocations: 422.5 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1296, allocations: 135.2 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1299, allocations: 159.4 kB / 0.4917 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.1301, allocations: 171.2 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.1302, allocations: 32 kB / 0.4919 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.1303, allocations: 40 kB / 0.4919 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1303, allocations: 67.77 kB / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.1305, allocations: 191 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1309, allocations: 418.4 kB / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1309, allocations: 0 / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1309, allocations: 0 / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.131, allocations: 4 kB / 0.4925 GB, free: 7.004 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.001116/0.1321, allocations: 0.6546 MB / 0.4932 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1321, allocations: 11.89 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.1322, allocations: 78.66 kB / 0.4933 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.1323, allocations: 48.36 kB / 0.4933 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.1327, allocations: 268.7 kB / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1327, allocations: 29.38 kB / 0.4936 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.1328, allocations: 32.38 kB / 0.4936 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.1335, allocations: 358 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1335, allocations: 0 / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.1336, allocations: 16 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1336, allocations: 8 kB / 0.494 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.1342, allocations: 267.8 kB / 0.4943 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1364, allocations: 1.334 MB / 0.4956 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.1369, allocations: 210.4 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.1371, allocations: 75.56 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1372, allocations: 4 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1372, allocations: 46.48 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1372, allocations: 0 / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008175/0.138, allocations: 245.1 kB / 0.4961 GB, free: 3.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.1381, allocations: 136.6 kB / 0.4962 GB, free: 2.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1385, allocations: 332.4 kB / 0.4966 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1385, allocations: 25.7 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1387, allocations: 231.6 kB / 0.4968 GB, free: 2.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1387, allocations: 55.25 kB / 0.4969 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.1388, allocations: 57.89 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.139, allocations: 346.7 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.1392, allocations: 81 kB / 0.4973 GB, free: 1.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.1395, allocations: 168.2 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.1401, allocations: 250.9 kB / 0.4977 GB, free: 1.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1401, allocations: 0 / 0.4977 GB, free: 1.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006588/0.1408, allocations: 305 kB / 0.498 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1408, allocations: 4 kB / 0.498 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1408, allocations: 4 kB / 0.498 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1408, allocations: 4 kB / 0.498 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1412, allocations: 100 kB / 0.4981 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1413, allocations: 4 kB / 0.4981 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1415, allocations: 51.52 kB / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1416, allocations: 11.98 kB / 0.4982 GB, free: 0.8047 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.000145/0.1417, allocations: 153.7 kB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1418, allocations: 31.62 kB / 0.4984 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.1419, allocations: 34.41 kB / 0.4984 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1419, allocations: 4 kB / 0.4984 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1419, allocations: 4 kB / 0.4984 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1419, allocations: 288 / 0.4984 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.1428, allocations: 0.5875 MB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1428, allocations: 4.156 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.1431, allocations: 59.88 kB / 0.499 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.1431, allocations: 7.984 kB / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1431, allocations: 15.88 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1431, allocations: 0 / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1431, allocations: 4 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.1437, allocations: 398.3 kB / 0.4994 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1439, allocations: 116.7 kB / 0.4996 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1439, allocations: 3.938 kB / 0.4996 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.1442, allocations: 20.05 kB / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1442, allocations: 11.98 kB / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1442, allocations: 8 kB / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.1445, allocations: 231 kB / 0.4998 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1445, allocations: 3.938 kB / 0.4998 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.1449, allocations: 71.84 kB / 0.4999 GB, free: 14.93 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.0008549/0.1458, allocations: 0.9224 MB / 0.5008 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005596/0.1463, allocations: 200 kB / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1464, allocations: 0 / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.1466, allocations: 79.89 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.147, allocations: 28.08 kB / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.151, allocations: 2.961 MB / 0.504 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1513, allocations: 0.7714 MB / 0.5047 GB, free: 9.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1515, allocations: 25.94 kB / 0.5048 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1516, allocations: 103.4 kB / 0.5049 GB, free: 9.594 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1516, allocations: 0 / 0.5049 GB, free: 9.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1733, allocations: 4.926 MB / 0.5097 GB, free: 4.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.153, allocations: 11.53 kB / 0.5097 GB, free: 4.645 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 & /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","/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