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.0008017/0.0008017, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008006/0.0008006, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8521/0.8521, allocations: 177 MB / 204.1 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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 1.283e-06/1.283e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.468e-05, allocations: 2.844 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003061/0.003076, allocations: 3.5 MB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.004575, allocations: 1.051 MB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.004792, allocations: 27.81 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.005045, allocations: 158.8 kB / 329.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.005708, allocations: 329.9 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.005913, allocations: 139.8 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009104/0.006824, allocations: 1.47 MB / 331.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.007392, allocations: 0.6396 MB / 331.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.00819, allocations: 0.9512 MB / 332.8 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.008863, allocations: 0.7327 MB / 333.5 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.009013, allocations: 160 kB / 333.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.009192, allocations: 160 kB / 333.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.009446, allocations: 0.4908 MB / 334.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.009805, allocations: 0.5145 MB / 334.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.01098, allocations: 2.127 MB / 336.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01098, allocations: 4 kB / 336.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01098, allocations: 3.938 kB / 336.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.01101, allocations: 0 / 336.9 MB, free: 3.391 MB / 298.7 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.001827/0.01284, allocations: 1.646 MB / 338.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.01287, allocations: 11.98 kB / 338.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.01302, allocations: 185.4 kB / 338.8 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.0133, allocations: 172 kB / 339 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.01418, allocations: 0.8584 MB / 339.8 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.01422, allocations: 82.62 kB / 339.9 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.01433, allocations: 112.4 kB / 340 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.01589, allocations: 1.739 MB / 341.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01591, allocations: 0 / 341.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.01597, allocations: 48 kB / 341.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.01601, allocations: 46.25 kB / 341.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.01735, allocations: 1.336 MB / 343.2 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.02121, allocations: 3.912 MB / 347.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.02179, allocations: 0.6147 MB / 347.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/0.02241, allocations: 498.5 kB / 348.2 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.02244, allocations: 12.5 kB / 348.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.02246, allocations: 43.06 kB / 348.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.395e-06/0.02247, allocations: 3.938 kB / 348.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.000944/0.02341, allocations: 0.8751 MB / 349.1 MB, free: 6.906 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.02344, allocations: 63.84 kB / 349.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.02411, allocations: 0.8398 MB / 350 MB, free: 5.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.02413, allocations: 37.7 kB / 350.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.02438, allocations: 0.5623 MB / 350.6 MB, free: 5.363 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.02447, allocations: 186.4 kB / 350.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02457, allocations: 98.34 kB / 350.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.02469, allocations: 382.8 kB / 351.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.02498, allocations: 305.1 kB / 351.6 MB, free: 4.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.02549, allocations: 395.4 kB / 352 MB, free: 3.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.02609, allocations: 0.6895 MB / 352.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02609, allocations: 0 / 352.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007874/0.02688, allocations: 0.8286 MB / 353.5 MB, free: 2.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.0269, allocations: 4 kB / 353.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.0269, allocations: 4 kB / 353.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.02692, allocations: 4 kB / 353.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.02724, allocations: 148.1 kB / 353.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.02725, allocations: 8 kB / 353.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.02742, allocations: 67.53 kB / 353.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.02745, allocations: 20 kB / 353.7 MB, free: 2.176 MB / 314.7 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.0003665/0.02782, allocations: 465.4 kB / 354.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.02788, allocations: 75.53 kB / 354.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.079e-05/0.02797, allocations: 95.06 kB / 354.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02798, allocations: 4 kB / 354.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.02798, allocations: 0 / 354.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.02799, allocations: 7.922 kB / 354.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.0297, allocations: 1.853 MB / 356.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0297, allocations: 0 / 356.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.02996, allocations: 120 kB / 356.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.02996, allocations: 4 kB / 356.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.02998, allocations: 12 kB / 356.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.02999, allocations: 7.938 kB / 356.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.02999, allocations: 4 kB / 356.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.03092, allocations: 1.12 MB / 357.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.03103, allocations: 99.48 kB / 357.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.03108, allocations: 11.94 kB / 357.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.03127, allocations: 51.89 kB / 357.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.03133, allocations: 44.36 kB / 357.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.03135, allocations: 16 kB / 357.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004542/0.0318, allocations: 0.5966 MB / 358.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0318, allocations: 4 kB / 358.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.03219, allocations: 295 kB / 358.6 MB, free: 13.21 MB / 330.7 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.001279/0.03347, allocations: 1.681 MB / 360.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.03408, allocations: 0.6346 MB / 360.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.03408, allocations: 0 / 360.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.03438, allocations: 310.6 kB / 361.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.0349, allocations: 191.2 kB / 361.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/0.04256, allocations: 8.555 MB / 369.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.04306, allocations: 0.7528 MB / 370.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.04336, allocations: 205.8 kB / 370.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.04368, allocations: 392.4 kB / 371.3 MB, free: 252 kB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.04368, allocations: 4 kB / 371.3 MB, free: 248 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.07816, allocations: 20.77 MB / 392 MB, free: 11.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.332, allocations: 4 kB / 392.1 MB, free: 11.7 MB / 362.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/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: 8.99138642847538]