Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001879/0.001879, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.4 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1142, allocations: 53.37 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005519/0.1197, allocations: 3.825 MB / 430.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.122, allocations: 1.086 MB / 431.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.1223, allocations: 27.81 kB / 431.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.1226, allocations: 158.8 kB / 431.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008961/0.1235, allocations: 318.3 kB / 431.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1238, allocations: 131.8 kB / 431.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.1255, allocations: 1.428 MB / 433.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.1267, allocations: 0.9087 MB / 434.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009512/0.1276, allocations: 0.6659 MB / 434.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.1287, allocations: 0.8057 MB / 435.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.1289, allocations: 156 kB / 435.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.1292, allocations: 164 kB / 436 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.1297, allocations: 478.6 kB / 436.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008493/0.1305, allocations: 0.7467 MB / 437.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.1327, allocations: 2.09 MB / 439.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1327, allocations: 0 / 439.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1327, allocations: 0 / 439.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.1327, allocations: 4 kB / 439.3 MB, free: 7.582 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003095/0.1358, allocations: 1.733 MB / 441 MB, free: 5.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.1359, allocations: 16.02 kB / 441.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.1361, allocations: 173.4 kB / 441.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.1366, allocations: 180 kB / 441.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1381, allocations: 0.9168 MB / 442.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.1382, allocations: 90.19 kB / 442.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.1383, allocations: 112 kB / 442.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.1409, allocations: 1.584 MB / 444.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1409, allocations: 0 / 444.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.141, allocations: 47.98 kB / 444.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/0.141, allocations: 42.25 kB / 444.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.1432, allocations: 1.344 MB / 445.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2096/0.3528, allocations: 4.441 MB / 450 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3539, allocations: 1.297 MB / 451.3 MB, free: 21.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/0.3549, allocations: 0.4984 MB / 451.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3549, allocations: 6.156 kB / 451.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3549, allocations: 41.81 kB / 451.8 MB, free: 21.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.355e-06/0.3549, allocations: 4.906 kB / 451.8 MB, free: 21.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001574/0.3565, allocations: 0.8734 MB / 452.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3565, allocations: 58.25 kB / 452.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3577, allocations: 0.8359 MB / 453.6 MB, free: 20.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3577, allocations: 33.27 kB / 453.6 MB, free: 20.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.3581, allocations: 0.5675 MB / 454.2 MB, free: 19.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3583, allocations: 186.6 kB / 454.4 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3585, allocations: 103.4 kB / 454.5 MB, free: 19.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3586, allocations: 387 kB / 454.9 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.3591, allocations: 300.8 kB / 455.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.3596, allocations: 397.2 kB / 455.5 MB, free: 19.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.3606, allocations: 0.6893 MB / 456.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3606, allocations: 4.969 kB / 456.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001385/0.362, allocations: 0.8231 MB / 457 MB, free: 18.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.362, allocations: 10.03 kB / 457.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.362, allocations: 5.406 kB / 457.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3621, allocations: 4.656 kB / 457.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.3626, allocations: 145.1 kB / 457.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3627, allocations: 6.266 kB / 457.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.363, allocations: 62.5 kB / 457.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.3631, allocations: 23.81 kB / 457.3 MB, free: 18.54 MB / 366.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.0006481/0.3637, allocations: 471.2 kB / 457.8 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3638, allocations: 78.06 kB / 457.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.364, allocations: 93.53 kB / 457.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.364, allocations: 4.656 kB / 457.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.364, allocations: 5.906 kB / 457.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3641, allocations: 2.062 kB / 457.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.3671, allocations: 1.947 MB / 459.9 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3671, allocations: 1.5 kB / 459.9 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.3676, allocations: 123.4 kB / 460 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3676, allocations: 4.125 kB / 460 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.3676, allocations: 14.23 kB / 460 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3677, allocations: 3.172 kB / 460 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3677, allocations: 2.562 kB / 460 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3691, allocations: 1.126 MB / 461.2 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3693, allocations: 181 kB / 461.3 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.3694, allocations: 10.31 kB / 461.3 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.3698, allocations: 51.38 kB / 461.4 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3699, allocations: 36.69 kB / 461.4 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3699, allocations: 17 kB / 461.4 MB, free: 16.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007194/0.3707, allocations: 0.5966 MB / 462 MB, free: 16.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3707, allocations: 0 / 462 MB, free: 16.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.3714, allocations: 290.3 kB / 462.3 MB, free: 16.32 MB / 366.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.00165/0.3731, allocations: 1.691 MB / 464 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3741, allocations: 0.6305 MB / 464.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3741, allocations: 5.375 kB / 464.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.3746, allocations: 311.4 kB / 465 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.3754, allocations: 177.5 kB / 465.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.3865, allocations: 8.573 MB / 473.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009521/0.3875, allocations: 1.349 MB / 475.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.388, allocations: 208 kB / 475.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.3885, allocations: 390.9 kB / 475.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3885, allocations: 0 / 475.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.436, allocations: 19.32 MB / 495 MB, free: 10.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.13/9.566, allocations: 15.66 kB / 495 MB, free: 10.15 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.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_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.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.185716051026247]