Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 52.94 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09554, allocations: 49.12 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005678/0.1012, allocations: 3.754 MB / 395.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1038, allocations: 1.076 MB / 396.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.104, allocations: 23.81 kB / 396.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.1043, allocations: 158.8 kB / 396.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008008/0.1051, allocations: 290.4 kB / 396.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1054, allocations: 143.8 kB / 396.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.1069, allocations: 1.451 MB / 398.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1079, allocations: 0.8528 MB / 399.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007651/0.1087, allocations: 0.6581 MB / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1097, allocations: 0.7784 MB / 400.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.1099, allocations: 160 kB / 400.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.1101, allocations: 159.9 kB / 400.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.1105, allocations: 474.7 kB / 401.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007556/0.1113, allocations: 0.7427 MB / 402.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.1132, allocations: 2.071 MB / 404.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1132, allocations: 0 / 404.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1132, allocations: 4 kB / 404.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.1132, allocations: 0 / 404.2 MB, free: 11.86 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003017/0.1163, allocations: 1.71 MB / 405.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1163, allocations: 8.031 kB / 405.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.1165, allocations: 181.3 kB / 406.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.1168, allocations: 144 kB / 406.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1181, allocations: 0.8428 MB / 407 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.786e-05/0.1181, allocations: 90.19 kB / 407.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.1183, allocations: 108 kB / 407.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.1208, allocations: 1.564 MB / 408.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1208, allocations: 0 / 408.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.1209, allocations: 48 kB / 408.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.1209, allocations: 28 kB / 408.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.1232, allocations: 1.328 MB / 410.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.1301, allocations: 4.28 MB / 414.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.1314, allocations: 1.303 MB / 415.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008873/0.1323, allocations: 498.8 kB / 416.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1324, allocations: 4.438 kB / 416.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.1324, allocations: 43 kB / 416.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.615e-06/0.1324, allocations: 0 / 416.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001542/0.1339, allocations: 0.8811 MB / 417.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.134, allocations: 55.84 kB / 417.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1351, allocations: 0.832 MB / 418.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.1352, allocations: 33.7 kB / 418.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.1356, allocations: 0.5546 MB / 418.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.1358, allocations: 186.4 kB / 418.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.136, allocations: 106.2 kB / 419 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.1362, allocations: 382.8 kB / 419.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.1367, allocations: 304.9 kB / 419.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.1373, allocations: 390.5 kB / 420 MB, free: 11.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1383, allocations: 0.6941 MB / 420.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1383, allocations: 0 / 420.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001414/0.1397, allocations: 0.8185 MB / 421.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1397, allocations: 11.91 kB / 421.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1397, allocations: 0 / 421.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.1398, allocations: 8 kB / 421.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.1404, allocations: 160 kB / 421.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.1404, allocations: 7.938 kB / 421.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.1408, allocations: 67.59 kB / 421.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.1408, allocations: 20 kB / 421.8 MB, free: 9.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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.0006428/0.1415, allocations: 453.4 kB / 422.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1416, allocations: 83.52 kB / 422.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.1418, allocations: 91.08 kB / 422.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1418, allocations: 4 kB / 422.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.1418, allocations: 7.938 kB / 422.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1418, allocations: 3.984 kB / 422.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.1449, allocations: 1.942 MB / 424.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.1449, allocations: 7.984 kB / 424.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.1454, allocations: 111.9 kB / 424.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1454, allocations: 4 kB / 424.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.1454, allocations: 15.92 kB / 424.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1454, allocations: 7.938 kB / 424.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1454, allocations: 8.156 kB / 424.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.147, allocations: 1.13 MB / 425.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.1473, allocations: 180.5 kB / 425.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.1473, allocations: 8 kB / 425.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.1477, allocations: 47.95 kB / 425.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1478, allocations: 44.31 kB / 425.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.1479, allocations: 16 kB / 425.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007791/0.1487, allocations: 0.5927 MB / 426.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 426.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007469/0.1494, allocations: 279.1 kB / 426.8 MB, free: 4.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * 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.00197/0.1514, allocations: 1.682 MB / 428.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.1525, allocations: 0.638 MB / 429.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1525, allocations: 0 / 429.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.153, allocations: 311.1 kB / 429.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.1539, allocations: 190.8 kB / 429.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.1665, allocations: 8.519 MB / 438.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.1676, allocations: 1.344 MB / 439.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004999/0.1681, allocations: 205.7 kB / 439.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.1686, allocations: 387.3 kB / 440.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1686, allocations: 0 / 440.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.2203, allocations: 19.15 MB / 459.2 MB, free: 3.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.177/9.397, allocations: 14 kB / 459.2 MB, free: 3.715 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.023015961007331]