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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 101.5 kB / 16.27 MB, free: 5.871 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.001867/0.001867, allocations: 186.6 kB / 17.19 MB, free: 5.523 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.554/1.554, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2462/0.2462, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001437/0.001437, allocations: 72.53 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 57.78 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004923/0.1303, allocations: 3.429 MB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1328, allocations: 0.819 MB / 444.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.1331, allocations: 8 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1334, allocations: 75.23 kB / 444.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1338, allocations: 126.8 kB / 445.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.1342, allocations: 131.8 kB / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005717/0.1348, allocations: 0.514 MB / 445.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.1353, allocations: 241.8 kB / 445.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.1356, allocations: 215.3 kB / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.1359, allocations: 234.9 kB / 446.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.136, allocations: 52 kB / 446.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.1361, allocations: 48 kB / 446.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1362, allocations: 115.6 kB / 446.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.1365, allocations: 250.8 kB / 446.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.137, allocations: 0.545 MB / 447.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.137, allocations: 3.938 kB / 447.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1371, allocations: 0 / 447.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1371, allocations: 0 / 447.4 MB, free: 15.99 MB / 334.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.001684/0.1388, allocations: 0.7564 MB / 448.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.1388, allocations: 11.89 kB / 448.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.753e-05/0.1389, allocations: 90.7 kB / 448.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.139, allocations: 48.38 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.1397, allocations: 325.3 kB / 448.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.1398, allocations: 33.38 kB / 448.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.1399, allocations: 48.38 kB / 448.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1408, allocations: 467 kB / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1409, allocations: 4 kB / 449.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.1409, allocations: 20 kB / 449.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1409, allocations: 8 kB / 449.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.1416, allocations: 327.8 kB / 449.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.1444, allocations: 1.682 MB / 451.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.145, allocations: 245 kB / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.1453, allocations: 133.7 kB / 451.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1453, allocations: 4 kB / 451.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.1454, allocations: 34.56 kB / 451.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.1454, allocations: 4 kB / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.003032/0.1484, allocations: 1.334 MB / 452.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1485, allocations: 85.11 kB / 453 MB, free: 9.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1488, allocations: 262.5 kB / 453.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.1489, allocations: 33.7 kB / 453.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1491, allocations: 259.4 kB / 453.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.1492, allocations: 122.3 kB / 453.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1493, allocations: 74.05 kB / 453.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1495, allocations: 346.7 kB / 454.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.1499, allocations: 116.7 kB / 454.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.1502, allocations: 208.3 kB / 454.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.1508, allocations: 344 kB / 454.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1508, allocations: 0 / 454.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008567/0.1517, allocations: 422.2 kB / 455.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1517, allocations: 8.375 kB / 455.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1518, allocations: 11.94 kB / 455.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.1519, allocations: 36.78 kB / 455.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.1524, allocations: 123.8 kB / 455.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1535, allocations: 1.43 MB / 456.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.1538, allocations: 24.05 kB / 456.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1538, allocations: 16 kB / 456.8 MB, free: 5.914 MB / 334.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.0002049/0.154, allocations: 165.7 kB / 457 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.1541, allocations: 35.61 kB / 457 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.1542, allocations: 34.19 kB / 457 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1542, allocations: 4 kB / 457 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1542, allocations: 4 kB / 457 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1542, allocations: 3.984 kB / 457 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1553, allocations: 0.715 MB / 457.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1554, allocations: 0 / 457.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.1558, allocations: 91.88 kB / 457.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.679e-05/0.1558, allocations: 36.97 kB / 457.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1559, allocations: 8 kB / 457.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.157, allocations: 1.426 MB / 459.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.157, allocations: 4.031 kB / 459.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.1579, allocations: 0.6084 MB / 459.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1581, allocations: 116.8 kB / 460 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1581, allocations: 12 kB / 460 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.1584, allocations: 27.92 kB / 460.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.1585, allocations: 23.97 kB / 460.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1585, allocations: 11.92 kB / 460.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1588, allocations: 186 kB / 460.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1588, allocations: 0 / 460.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000428/0.1592, allocations: 92 kB / 460.4 MB, free: 2.07 MB / 334.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.001644/0.1609, allocations: 1.139 MB / 461.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1619, allocations: 422.9 kB / 461.9 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.162, allocations: 128 / 461.9 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.1623, allocations: 258.4 kB / 462.2 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.1629, allocations: 40.48 kB / 462.2 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.1678, allocations: 3.496 MB / 465.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.1682, allocations: 0.8113 MB / 466.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.1684, allocations: 34.97 kB / 466.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.1686, allocations: 139.4 kB / 466.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1686, allocations: 0 / 466.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.2068, allocations: 6.285 MB / 473 MB, free: 5.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.604/9.811, allocations: 0 / 473 MB, free: 5.215 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv","/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) Reference file matches