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.001989/0.001989, allocations: 101.8 kB / 16.26 MB, free: 5.93 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.002531/0.002531, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.6/1.6, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2412/0.2412, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.001467/0.001467, allocations: 70.78 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003521/0.1325, allocations: 2.616 MB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1336, allocations: 0.7914 MB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1338, allocations: 4 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.134, allocations: 63.38 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1342, allocations: 107.2 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1345, allocations: 107.8 kB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1348, allocations: 410.5 kB / 444.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.135, allocations: 147.2 kB / 444.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1352, allocations: 155.4 kB / 445 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1354, allocations: 167.2 kB / 445.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.1354, allocations: 32 kB / 445.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.1355, allocations: 32 kB / 445.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.1356, allocations: 83.73 kB / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1357, allocations: 183 kB / 445.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.136, allocations: 418.4 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1361, allocations: 0 / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1361, allocations: 0 / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1361, allocations: 4 kB / 445.9 MB, free: 1.465 MB / 318.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.0009993/0.1371, allocations: 0.6551 MB / 446.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1371, allocations: 15.88 kB / 446.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.446e-05/0.1372, allocations: 74.72 kB / 446.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.1373, allocations: 44.38 kB / 446.7 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1376, allocations: 268.7 kB / 447 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1376, allocations: 25.38 kB / 447 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1376, allocations: 32.38 kB / 447 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.1383, allocations: 358 kB / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1383, allocations: 11.94 kB / 447.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.1383, allocations: 16 kB / 447.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.1383, allocations: 12 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.139, allocations: 257 kB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.141, allocations: 1.346 MB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.1415, allocations: 198.5 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1417, allocations: 79.56 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1418, allocations: 4 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.1418, allocations: 46.5 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/0.1418, allocations: 3.984 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008067/0.1426, allocations: 241.2 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.1427, allocations: 140.5 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.1431, allocations: 328.4 kB / 450 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1431, allocations: 29.7 kB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1433, allocations: 235.6 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1433, allocations: 51.27 kB / 450.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1434, allocations: 57.89 kB / 450.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1436, allocations: 350.7 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1438, allocations: 80.52 kB / 450.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.1441, allocations: 168.2 kB / 451 MB, free: 12.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.1447, allocations: 250.9 kB / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1447, allocations: 0 / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006708/0.1453, allocations: 301 kB / 451.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1454, allocations: 8 kB / 451.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1454, allocations: 0 / 451.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1454, allocations: 12.5 kB / 451.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.1458, allocations: 96.11 kB / 451.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.1459, allocations: 4 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1461, allocations: 47.52 kB / 451.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.1462, allocations: 20 kB / 451.7 MB, free: 11.26 MB / 334.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.0001481/0.1463, allocations: 157.6 kB / 451.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1464, allocations: 31.62 kB / 451.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.1465, allocations: 30.41 kB / 451.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1465, allocations: 8 kB / 451.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1466, allocations: 0 / 451.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1466, allocations: 0 / 451.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007658/0.1473, allocations: 0.5914 MB / 452.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1473, allocations: 160 / 452.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.1476, allocations: 63.88 kB / 452.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1477, allocations: 0 / 452.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1477, allocations: 11.94 kB / 452.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1477, allocations: 4 kB / 452.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1477, allocations: 0 / 452.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1483, allocations: 394.6 kB / 453 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1484, allocations: 112.7 kB / 453.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.1484, allocations: 11.94 kB / 453.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1486, allocations: 11.98 kB / 453.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.1487, allocations: 11.98 kB / 453.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1487, allocations: 8 kB / 453.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.149, allocations: 227 kB / 453.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.149, allocations: 0 / 453.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.1494, allocations: 79.78 kB / 453.4 MB, free: 9.395 MB / 334.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.000851/0.1502, allocations: 0.9305 MB / 454.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.1508, allocations: 199.9 kB / 454.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1509, allocations: 0 / 454.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.1511, allocations: 79.83 kB / 454.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.1516, allocations: 24.81 kB / 454.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.156, allocations: 2.981 MB / 457.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1564, allocations: 0.7675 MB / 458.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1566, allocations: 25.94 kB / 458.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1567, allocations: 103.3 kB / 458.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1567, allocations: 0 / 458.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.1812, allocations: 4.744 MB / 463.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.588, allocations: 1.094 kB / 463.3 MB, free: 15.3 MB / 350.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